cluster.asciidoc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [[cluster]]
  2. = Cluster APIs
  3. [partintro]
  4. --
  5. ["float",id="cluster-nodes"]
  6. == Node specification
  7. Most cluster level APIs allow to specify which nodes to execute on (for
  8. example, getting the node stats for a node). Nodes can be identified in
  9. the APIs either using their internal node id, the node name, address,
  10. custom attributes, or just the `_local` node receiving the request. For
  11. example, here are some sample executions of nodes info:
  12. [source,js]
  13. --------------------------------------------------
  14. # Local
  15. GET /_nodes/_local
  16. # Address
  17. GET /_nodes/10.0.0.3,10.0.0.4
  18. GET /_nodes/10.0.0.*
  19. # Names
  20. GET /_nodes/node_name_goes_here
  21. GET /_nodes/node_name_goes_*
  22. # Attributes (set something like node.attr.rack: 2 in the config)
  23. GET /_nodes/rack:2
  24. GET /_nodes/ra*:2
  25. GET /_nodes/ra*:2*
  26. --------------------------------------------------
  27. // CONSOLE
  28. --
  29. include::cluster/health.asciidoc[]
  30. include::cluster/state.asciidoc[]
  31. include::cluster/stats.asciidoc[]
  32. include::cluster/pending.asciidoc[]
  33. include::cluster/reroute.asciidoc[]
  34. include::cluster/update-settings.asciidoc[]
  35. include::cluster/nodes-stats.asciidoc[]
  36. include::cluster/nodes-info.asciidoc[]
  37. include::cluster/tasks.asciidoc[]
  38. include::cluster/nodes-hot-threads.asciidoc[]
  39. include::cluster/allocation-explain.asciidoc[]