﻿---
title: Monitoring Logstash (Legacy)
description: Use the Elastic Stack monitoring features to gain insight into the health of Logstash instances running in your environment. For an introduction to monitoring...
url: https://www.elastic.co/elastic/docs-builder/docs/2774/reference/logstash/monitoring-logstash-legacy
products:
  - Logstash
---

# Monitoring Logstash (Legacy)
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](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2774/deploy-manage/monitor) in the [Elasticsearch Reference](https://docs-v3-preview.elastic.dev/elastic/docs-builder/docs/2774/get-started). Then, make sure that monitoring is enabled on your Elasticsearch cluster.
These options for collecting Logstash metrics for stack monitoring have been available for a while:
- [Metricbeat collection](https://www.elastic.co/elastic/docs-builder/docs/2774/reference/logstash/monitoring-with-metricbeat). 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)](https://www.elastic.co/elastic/docs-builder/docs/2774/reference/logstash/monitoring-internal-collection-legacy). Legacy collectors send monitoring data to your production cluster.

For more features, dependability, and easier management, consider using:
- [Elastic Agent collection for Stack Monitoring](https://www.elastic.co/elastic/docs-builder/docs/2774/reference/logstash/monitoring-with-elastic-agent). Elastic Agent collects monitoring data from your Logstash instance and sends it directly to your monitoring cluster, and shows the data in Logstash Dashboards. The benefit of Elastic Agent collection is that the monitoring agent remains active even if the Logstash instance does not, you can manage all your monitoring agents from a central location in Fleet.