How to ship Logstash API results to


I am able to run Logstash API calls using my Linux command line using curl like;

curl -XGET "http://localhost:9600/_node/stats/jvm"

is there any way to poll this in regular intervals and push it to elasticsearch?

Thanks in advance.

X-Pack ver 5.2 does this for you.

@warkolm is there any other method to do this without X-Pack? The reasons are;

  1. I would like to create a custom dashboard
  2. I cant upgrade to 5.2 (currently using 5.0.0 GA with monitoring) for some reasons

It is an HTTP endpoint, which I assume you could poll using the http_poller input for Logstash or maybe even httpbeat. You could probably also write a script if you prefer that.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.