Skip to content

Commit 7f3b9c8

Browse files
authored
Fix URI to cluster stats endpoint on specific nodes (#36784)
1 parent 8e97bf9 commit 7f3b9c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/reference/cluster/stats.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ Will return, for example:
225225
// the response are ignored. So we're really only asserting things about the
226226
// the shape of this response, not the values in it.
227227

228-
This API can be restricted to a subset of the nodes using the `?nodeId`
229-
parameter, which accepts <<cluster-nodes,node filters>>:
228+
This API can be restricted to a subset of the nodes using <<cluster-nodes,node
229+
filters>>:
230230

231231
[source,js]
232232
--------------------------------------------------
233-
GET /_cluster/stats?nodeId=node1,node*,master:false
233+
GET /_cluster/stats/nodes/node1,node*,master:false
234234
--------------------------------------------------
235235
// CONSOLE

0 commit comments

Comments
 (0)