diff --git a/docs/reference/cluster/stats.asciidoc b/docs/reference/cluster/stats.asciidoc index c6e73f2c9d29b..a629539542236 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 using <>: [source,js] -------------------------------------------------- -GET /_cluster/stats?nodeId=node1,node*,master:false +GET /_cluster/stats/nodes/node1,node*,master:false -------------------------------------------------- // CONSOLE