Monitor multiple Logstash instances running on the same server

We have a use case where we have several Logstash instances running on the same server, however when we would like to monitor them in Kibana, we see Logstashes per node and not per instance.

What is the usual way to make each invidiual Logstash instance monitorable?

As I understand by setting the http.host and http.port parameters in the logstash.yml, I can actually use curl to get information about a given instance, since I am able to distinguish them by the port number.

However this change won't be visible in Kibana. Furthermore, it results in a strange phenomenon. I still see only one node listed, however under the node's hostname, the IP address with the port number changes by each refresh, either to one or the another Logstash instance, with accurate values.

You can try this script

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