Skip to content

sematext/logagent-input-elasticsearch-stats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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