How to ship Logstash API results to


#1

Hi,

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.


(Mark Walkom) #2

X-Pack ver 5.2 does this for you.


#3

@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

(Christian Dahlqvist) #4

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.


(system) #5

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