I have multiple Logstash instances and it will be fine if I can see their status in a Kibana dashboard. I got to know about Logstash monitoring API here https://www.elastic.co/guide/en/logstash/current/monitoring.html but I dont know how to use it / how to work with it. I entered GET /_node/pipeline in Kibana Dev Tools > Console, but it returned;
{
"error": {
"root_cause": [
{
"type": "illegal_argument_exception",
"reason": "No endpoint or operation is available at [pipeline]"
}
],
"type": "illegal_argument_exception",
"reason": "No endpoint or operation is available at [pipeline]"
},
"status": 400
}
How can I monitor Logstash instances (whether they are up or not), and display it in a Kibana dashboard?
With the release of Elastic Stack 5.2, X-Pack Monitoring now supports monitoring Logstash as well as Elasticsearch and Kibana. This is available through the free Basic X-Pack license.
The monitoring data is available through an HTTP end-point described in the documentation, so if you have something poll this at a regular interval, perform any transformation that is required and index it into Elasticsearch, you should be able to build Kibana dashboards around it. I have however not used the API, so will not really be able to help with the details. Is there any reason you can not use X-Pack with the free basic license?
Monitoring of Logstash in X-Pack was introduced in version 5.2. There has been a number of bug fixes and enhancements since 5.0, so I would recommend you upgrade.
The Kibana console queries the Elasticsearch cluster only for security reasons, so you can not use Console to query the HTTP end point on Logstash.
I have entered curl -XGET "http://localhost:9200/_node/pipeline" in my Linux console, but it returned;
{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [pipeline]"}],"type":"illegal_argument_exception","reason":"No endpoint or operation is available at [pipeline]"},"status":400}
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.