From 4795aa612ef570ab95a4c0a9647ff5c4e2f574fe Mon Sep 17 00:00:00 2001 From: David Turner Date: Tue, 18 Dec 2018 15:39:15 +0000 Subject: [PATCH 1/2] Fix URI to cluster stats endpoint on specific nodes --- docs/reference/cluster/stats.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/reference/cluster/stats.asciidoc b/docs/reference/cluster/stats.asciidoc index c6e73f2c9d29b..b35631f63b7bf 100644 --- a/docs/reference/cluster/stats.asciidoc +++ b/docs/reference/cluster/stats.asciidoc @@ -225,11 +225,11 @@ Will return, for example: // the response are ignored. So we're really only asserting things about the // the shape of this response, not the values in it. -This API can be restricted to a subset of the nodes using the `?nodeId` -parameter, which accepts <>: +This API can be restricted to a subset of the nodes as follows, using +<>: [source,js] -------------------------------------------------- -GET /_cluster/stats?nodeId=node1,node*,master:false +GET /_cluster/stats/nodes/node1,node*,master:false -------------------------------------------------- // CONSOLE From a5fe28afb8fb898c9a50b61b23db2705656d4f51 Mon Sep 17 00:00:00 2001 From: David Turner Date: Fri, 21 Dec 2018 11:10:08 +0000 Subject: [PATCH 2/2] less words --- docs/reference/cluster/stats.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/cluster/stats.asciidoc b/docs/reference/cluster/stats.asciidoc index b35631f63b7bf..a629539542236 100644 --- a/docs/reference/cluster/stats.asciidoc +++ b/docs/reference/cluster/stats.asciidoc @@ -225,8 +225,8 @@ Will return, for example: // the response are ignored. So we're really only asserting things about the // the shape of this response, not the values in it. -This API can be restricted to a subset of the nodes as follows, using -<>: +This API can be restricted to a subset of the nodes using <>: [source,js] --------------------------------------------------