Skip to content
This repository has been archived by the owner on May 22, 2018. It is now read-only.

Latest commit

 

History

History
51 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

51 lines (30 loc) · 1.14 KB

Build Status

gravitee-reporter-es

Report GraviteeIO Gateway request events to Elasticsearch Engine

Build

This plugin require :

  • Maven 3
  • JDK 8

Once built, a plugin archive file is generated in : target/gravitee-reporter-es-1.0.0-SNAPSHOT.zip

Deploy

Just unzip the plugin archive in your gravitee plugin workspace ( default is : ${node.home}/plugins )

Configuration

The configuration is loaded from the common GraviteeIO Gateway configuration file (gravitee.yml)

Example :

elastic:
  protocol: TRANSPORT

  index:
    name: gravitee         # index name user (format used : ${name}-yyyy.MM.dd )

  type:                    # Object request type
    name: request         

  hosts: 
    - 'localhost'

  cluster:
    name: elasticsearch

  bulk:
    actions: 1000           # Number of requests action before flush
    size: 5                 # Size in Mo
    flush_interval: 1       # Flush interval in seconds
    concurrent_requests: 5  # Concurrent requests