Cherrypick #6658 into 5.1 branch (#6684)

This commit is contained in:
DeDe Morton 2017-02-09 19:35:19 -08:00 committed by Suyog Rao
parent 8f39da19b8
commit cacab201c4

View file

@ -335,9 +335,17 @@ Example response:
[[pipeline-stats]] [[pipeline-stats]]
==== Pipeline Stats ==== Pipeline Stats
The following request returns a JSON document containing pipeline stats, including the number of events that were The following request returns a JSON document containing pipeline stats,
input, filtered, or output by the pipeline. The request also returns stats for each configured input, filter, or including:
output stage, and info about whether config reload (if configured) failed or succeeded.
* the number of events that were input, filtered, or output by the pipeline
* stats for each configured filter or output stage
* info about config reload successes and failures
(when <<reloading-config,config reload>> is enabled)
NOTE: Detailed pipeline stats for input plugins are not currently available, but
will be available in a future release. For now, the node stats API returns an
empty set array for inputs (`"inputs": []`).
[source,js] [source,js]
-------------------------------------------------- --------------------------------------------------