Plugin to collect Logstash stats. It uses the node stats API and optionally the hot threads API.
npm i -g @sematext/logagent
npm i -g logagent-input-logstash-stats
input:
logstashStats:
module: logagent-input-logstash-stats
url: 'http://localhost:9600'
hotThreads: false
debug: false
output:
logstash:
url: http://localhost:9200
index: logstash-metrics
# global options
options:
includeOriginalLine: false
printStats: 60
logagent --config myconfig.yml