Logstash API
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:
- Health report.
- Hot threads.
- Logstash node info, like pipeline settings, OS info, and JVM info.
- Node stats, like JVM stats, process stats, event-related stats, and pipeline runtime stats.
- Plugins info, including a list of installed plugins.
The APIs that retrieve these metrics are available by default, with no extra configuration needed.
- Base URL
-
/ - Version
- 1.0
This documentation is derived from the main branch of the logstash repository.
It is provided under license Attribution-NonCommercial-NoDerivatives 4.0 International.
Health report 1
Hot threads 1
Metadata 1
Node info 4
Node stats 10
-
GET
Get node statistics
/_node/stats -
GET
Get events statistics
/_node/stats/events -
GET
Get flow statistics
/_node/stats/flow -
GET
Get geoip databases statistics
/_node/stats/geoip_download_manager -
GET
Get JVM statistics
/_node/stats/jvm -
GET
Get Cgroup statistics
/_node/stats/os -
GET
Get statistics for pipelines
/_node/stats/pipelines -
GET
Get statistics for a pipeline
/_node/stats/pipelines/{pipeline_name} -
GET
Get process statistics
/_node/stats/process -
GET
Get config reload statistics
/_node/stats/reloads