Get node attribute information
- GET /_cat/nodeattrs
Get information about custom node attributes. IMPORTANT: cat APIs are only intended for human consumption using the command line or Kibana console. They are not intended for use by applications. For application consumption, use the nodes info API.
- Cluster privileges:
monitor
Query Parameters
-
hCatNodeattrsColumns A comma-separated list of columns names to display. It supports simple wildcards.
Supported values include:
node: The node name.id(orid,nodeId): The unique node ID.pid(orp): The process ID.host(orh): The host name.ip(ori): The IP address.port(orpo): The bound transport port.attr(orattr.name): The attribute description.value(orattr.value): The attribute value.
-
Values:
nodeidnodeIdpidphosthipiportpoattrattr.namevalueattr.value -
sNames List of columns that determine how the table should be sorted. Sorting defaults to ascending and can be changed by setting
:ascor:descas a suffix to the column name.-
localboolean · default: false If
true, the request computes the list of selected nodes from the local cluster state. Iffalsethe list of selected nodes are computed from the cluster state of the master node. In both cases the coordinating node will send requests for further information to each selected node.-
master_timeoutstring Duration · default: 30s Period to wait for a connection to the master node.