logagent-input-logstash-stats

1.0.5 • Public • Published

logagent-input-logstash-stats

Plugin to collect Logstash stats. It uses the node stats API and optionally the hot threads API.

Install logagent 2.x

npm i -g @sematext/logagent

Install logagent-input-logstash-stats plugin

npm i -g logagent-input-logstash-stats  

Configure logagent

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

Start logagent

logagent --config myconfig.yml

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i logagent-input-logstash-stats

    Weekly Downloads

    0

    Version

    1.0.5

    License

    Apache-2.0

    Unpacked Size

    3.27 kB

    Total Files

    3

    Last publish

    Collaborators

    • radu-gheorghe