Skip to content

Commit

Permalink
[DOCS] Adds heading between examples to better separate them. (elasti…
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve committed Aug 13, 2019
1 parent 95e6263 commit 5262d0f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion docs/reference/cluster/nodes-info.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ include::{docdir}/rest-api/common-parms.asciidoc[tag=node-id]
`version`::
{es} version running on this node.

The `os` flag can be set to retrieve information that concern the operating
system:

`os.refresh_interval_in_millis`::
Expand Down Expand Up @@ -178,6 +179,10 @@ GET /_nodes/nodeId1,nodeId2/_all

The `_all` flag can be set to return all the information - or you can omit it.


[[cluster-nodes-info-api-example-plugins]]
===== Example for plugins metric

If `plugins` is specified, the result will contain details about the installed
plugins and modules:

Expand Down Expand Up @@ -246,6 +251,10 @@ The API returns the following response:
// TESTRESPONSE[s/"plugins": \[[^\]]*\]/"plugins": $body.$_path/]
// TESTRESPONSE[s/"modules": \[[^\]]*\]/"modules": $body.$_path/]


[[cluster-nodes-info-api-example-ingest]]
===== Example for ingest metric

If `ingest` is specified, the response contains details about the available
processors per node:

Expand Down Expand Up @@ -335,4 +344,4 @@ The API returns the following response:
// TESTRESPONSE[s/"build_hash": "587409e"/"build_hash": $body.$_path/]
// TESTRESPONSE[s/"roles": \[[^\]]*\]/"roles": $body.$_path/]
// TESTRESPONSE[s/"attributes": \{[^\}]*\}/"attributes": $body.$_path/]
// TESTRESPONSE[s/"processors": \[[^\]]*\]/"processors": $body.$_path/]
// TESTRESPONSE[s/"processors": \[[^\]]*\]/"processors": $body.$_path/]

0 comments on commit 5262d0f

Please sign in to comment.