Monitoring Logstash

edit

Use the Elastic Stack monitoring features to gain insight into the health of Logstash instances running in your environment.

For an introduction to monitoring your Elastic stack, see Monitoring a cluster in the Elasticsearch Reference.

Configuring monitoring for Logstash

edit

Make sure that monitoring is enabled on your Elasticsearch cluster. Then configure one of these methods to collect Logstash metrics:

  • Elastic Agent collection. Elastic Agent collects monitoring data from your Logstash instance and sends it directly to your monitoring cluster. The benefit of Elastic Agent collection is that the monitoring agent remains active even if the Logstash instance does not. Plus you can mange all your monitoring agents from a central location in Fleet.
  • Metricbeat collection. Metricbeat collects monitoring data from your Logstash instance and sends it directly to your monitoring cluster. The benefit of Metricbeat collection is that the monitoring agent remains active even if the Logstash instance does not.
  • Legacy collection (deprecated). Legacy collectors send monitoring data to your production cluster.