Logstash is a powerful tool for processing and managing data streams. The /en/api/tools/monitoring/logstash
endpoint provides monitoring information about Logstash instances.
Key Features
- Real-time Monitoring: Keep track of Logstash performance in real-time.
- Error Tracking: Identify and diagnose issues quickly.
- Resource Utilization: Monitor CPU, memory, and disk usage.
- Data Flow Analysis: Understand the flow of data through Logstash.
Usage
To access the monitoring API, send a GET request to /en/api/tools/monitoring/logstash
.
curl http://your-logstash-instance.com/en/api/tools/monitoring/logstash
Example Response
{
"status": "active",
"cpu_usage": "75%",
"memory_usage": "2.5GB",
"disk_usage": "80%",
"error_count": 0,
"data_flow": {
"input": 1000,
"filter": 500,
"output": 300
}
}