Monitoring Logstash

edit

When you run Logstash, it automatically captures runtime metrics that you can use to monitor the health and performance of your Logstash deployment.

The metrics collected by Logstash include:

  • Logstash node info, like pipeline settings, OS info, and JVM info.
  • Plugin info, including a list of installed plugins.
  • Node stats, like JVM stats, process stats, event-related stats, and pipeline runtime stats.
  • Hot threads.

You can use the basic monitoring APIs providing by Logstash to retrieve these metrics. These APIs are available by default without requiring any extra configuration.

Alternatively, you can install X-Pack and configure X-Pack monitoring.

Monitoring is an X-Pack feature under the Basic License and is therefore free to use.

You can use the monitoring UI in X-Pack to view the metrics and gain insight into how your Logstash deployment is running.

For an introduction to monitoring your Elastic stack, including Elasticsearch and Kibana, see Monitoring the Elastic Stack.