Add HLRC support for enrich stats API (#47306)

This PR also includes HLRC docs for the enrich stats api.

Relates to #32789
This commit is contained in:
Martijn van Groningen 2019-10-10 08:46:30 +02:00 committed by GitHub
parent 498789bcc3
commit 0caca2f73f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 498 additions and 25 deletions

View file

@ -0,0 +1,33 @@
--
:api: enrich-stats
:request: StatsRequest
:response: StatsResponse
--
[id="{upid}-{api}"]
=== Stats API
[id="{upid}-{api}-request"]
==== Request
The stats API returns enrich related stats.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request]
--------------------------------------------------
[id="{upid}-{api}-response"]
==== Response
The returned +{response}+ includes enrich related stats.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-response]
--------------------------------------------------
<1> List of policies that are currently executing with
additional details.
<2> List of coordinator stats per ingest node.
include::../execution.asciidoc[]

View file

@ -613,7 +613,9 @@ The Java High Level REST Client supports the following Enrich APIs:
* <<{upid}-enrich-put-policy>>
* <<{upid}-enrich-delete-policy>>
* <<{upid}-enrich-get-policy>>
* <<{upid}-enrich-stats-policy>>
include::enrich/put_policy.asciidoc[]
include::enrich/delete_policy.asciidoc[]
include::enrich/get_policy.asciidoc[]
include::enrich/stats.asciidoc[]