Query parameters
-
If you append
?pretty=true
to the request, the JSON returned will be pretty formatted. Use it for debugging only!
Responses
-
Flow rates provide visibility into how a Logstash instance or an individual pipeline is currently performing relative to itself over time. This allows us to attach meaning to the cumulative-value metrics that are also presented by this API, and to determine whether an instance or pipeline is behaving better or worse than it has in the past.
The following flow rates are available for the logstash process as a whole and for each of its pipelines individually. In addition, pipelines may have additional flow rates depending on their configuration.
GET /_node/stats/flow
curl \ --request GET 'http://api.example.com/_node/stats/flow' \ --user "username:password"
Response examples (200)
{ "flow": { "input_throughput": { "current": 0.07381, "lifetime": 0.01701, "last_1_minute": 0.01572, "last_5_minutes": 0.01618, "last_15_minutes": 0.0173 }, "filter_throughput": { "current": 0.07379, "lifetime": 0.01701, "last_1_minute": 0.01572, "last_5_minutes": 0.01618, "last_15_minutes": 0.0173 }, "output_throughput": { "current": 0.07379, "lifetime": 0.01701, "last_1_minute": 0.01572, "last_5_minutes": 0.01618, "last_15_minutes": 0.0173 }, "queue_backpressure": { "current": 7.379e-05, "lifetime": 6.464e-05, "last_1_minute": 1.572e-05, "last_5_minutes": 4.532e-05, "last_15_minutes": 5.407e-05 }, "worker_concurrency": { "current": 0.0001476, "lifetime": 0.000242, "last_1_minute": 0.0001257, "last_5_minutes": 0.000246, "last_15_minutes": 0.0002941 } } }