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.
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.
X-Pack ver 5.2 does this for you.
@warkolm is there any other method to do this without X-Pack? The reasons are;
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.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.