logagent-input-elasticsearch-stats

1.0.7 • Public • Published

logagent-input-elasticsearch-stats

Plugin to collect Elasticsearch stats

Install logagent 2.x

npm i -g @sematext/logagent

Install logagent-input-elasticsearch-stats plugin

npm i -g logagent-input-elasticsearch-stats  

Configure logagent

input:
  elasticsearchStats:
    module: logagent-input-elasticsearch-stats 
    url: 'http://localhost:9200'
    debug: false
    nodesStats: true
    skipIndexStats: false

output:
  elasticsearch:
    url: http://localhost:9200
    index: logs

# global options
options:
  includeOriginalLine: false
  printStats: 60

Start logagent

logagent --config myconfig.yml

Package Sidebar

Install

npm i logagent-input-elasticsearch-stats

Weekly Downloads

6

Version

1.0.7

License

Apache-2.0

Unpacked Size

6.14 kB

Total Files

4

Last publish

Collaborators

  • megastef
  • sematext