Get node information
Get information about the nodes in a cluster. 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.
Query parameters
-
bytes
string The unit used to display byte values.
Values are
b
,kb
,mb
,gb
,tb
, orpb
. -
full_id
boolean | string If
true
, return the full node ID. Iffalse
, return the shortened node ID. -
include_unloaded_segments
boolean If true, the response includes information from segments that are not loaded into memory.
-
h
string | array[string] A comma-separated list of columns names to display. It supports simple wildcards.
Supported values include:
build
(orb
): The Elasticsearch build hash. For example:5c03844
.completion.size
(orcs
,completionSize
): The size of completion. For example:0b
.cpu
: The percentage of recent system CPU used.disk.avail
(ord
,disk
,diskAvail
): The available disk space. For example:198.4gb
.disk.total
(ordt
,diskTotal
): The total disk space. For example:458.3gb
.disk.used
(ordu
,diskUsed
): The used disk space. For example:259.8gb
.disk.used_percent
(ordup
,diskUsedPercent
): The percentage of disk space used.fielddata.evictions
(orfe
,fielddataEvictions
): The number of fielddata cache evictions.fielddata.memory_size
(orfm
,fielddataMemory
): The fielddata cache memory used. For example:0b
.file_desc.current
(orfdc
,fileDescriptorCurrent
): The number of file descriptors used.file_desc.max
(orfdm
,fileDescriptorMax
): The maximum number of file descriptors.file_desc.percent
(orfdp
,fileDescriptorPercent
): The percentage of file descriptors used.flush.total
(orft
,flushTotal
): The number of flushes.flush.total_time
(orftt
,flushTotalTime
): The amount of time spent in flush.get.current
(orgc
,getCurrent
): The number of current get operations.get.exists_time
(orgeti
,getExistsTime
): The time spent in successful get operations. For example:14ms
.get.exists_total
(orgeto
,getExistsTotal
): The number of successful get operations.get.missing_time
(orgmti
,getMissingTime
): The time spent in failed get operations. For example:0s
.get.missing_total
(orgmto
,getMissingTotal
): The number of failed get operations.get.time
(orgti
,getTime
): The amount of time spent in get operations. For example:14ms
.get.total
(orgto
,getTotal
): The number of get operations.heap.current
(orhc
,heapCurrent
): The used heap size. For example:311.2mb
.heap.max
(orhm
,heapMax
): The total heap size. For example:4gb
.heap.percent
(orhp
,heapPercent
): The used percentage of total allocated Elasticsearch JVM heap. This value reflects only the Elasticsearch process running within the operating system and is the most direct indicator of its JVM, heap, or memory resource performance.http_address
(orhttp
): The bound HTTP address.id
(ornodeId
): The identifier for the node.indexing.delete_current
(oridc
,indexingDeleteCurrent
): The number of current deletion operations.indexing.delete_time
(oridti
,indexingDeleteTime
): The time spent in deletion operations. For example:2ms
.indexing.delete_total
(oridto
,indexingDeleteTotal
): The number of deletion operations.indexing.index_current
(oriic
,indexingIndexCurrent
): The number of current indexing operations.indexing.index_failed
(oriif
,indexingIndexFailed
): The number of failed indexing operations.indexing.index_failed_due_to_version_conflict
(oriifvc
,indexingIndexFailedDueToVersionConflict
): The number of indexing operations that failed due to version conflict.indexing.index_time
(oriiti
,indexingIndexTime
): The time spent in indexing operations. For example:134ms
.indexing.index_total
(oriito
,indexingIndexTotal
): The number of indexing operations.ip
(ori
): The IP address.jdk
(orj
): The Java version. For example:1.8.0
.load_1m
(orl
): The most recent load average. For example:0.22
.load_5m
(orl
): The load average for the last five minutes. For example:0.78
.load_15m
(orl
): The load average for the last fifteen minutes. For example:1.24
.mappings.total_count
(ormtc
,mappingsTotalCount
): The number of mappings, including runtime and object fields.mappings.total_estimated_overhead_in_bytes
(ormteo
,mappingsTotalEstimatedOverheadInBytes
): The estimated heap overhead, in bytes, of mappings on this node, which allows for 1KiB of heap for every mapped field.master
(orm
): Indicates whether the node is the elected master node. Returned values include*
(elected master) and-
(not elected master).merges.current
(ormc
,mergesCurrent
): The number of current merge operations.merges.current_docs
(ormcd
,mergesCurrentDocs
): The number of current merging documents.merges.current_size
(ormcs
,mergesCurrentSize
): The size of current merges. For example:0b
.merges.total
(ormt
,mergesTotal
): The number of completed merge operations.merges.total_docs
(ormtd
,mergesTotalDocs
): The number of merged documents.merges.total_size
(ormts
,mergesTotalSize
): The total size of merges. For example:0b
.merges.total_time
(ormtt
,mergesTotalTime
): The time spent merging documents. For example:0s
.name
(orn
): The node name.node.role
(orr
,role
,nodeRole
): The roles of the node. Returned values includec
(cold node),d
(data node),f
(frozen node),h
(hot node),i
(ingest node),l
(machine learning node),m
(master-eligible node),r
(remote cluster client node),s
(content node),t
(transform node),v
(voting-only node),w
(warm node), and-
(coordinating node only). For example,dim
indicates a master-eligible data and ingest node.pid
(orp
): The process identifier.port
(orpo
): The bound transport port number.query_cache.memory_size
(orqcm
,queryCacheMemory
): The used query cache memory. For example:0b
.query_cache.evictions
(orqce
,queryCacheEvictions
): The number of query cache evictions.query_cache.hit_count
(orqchc
,queryCacheHitCount
): The query cache hit count.query_cache.miss_count
(orqcmc
,queryCacheMissCount
): The query cache miss count.ram.current
(orrc
,ramCurrent
): The used total memory. For example:513.4mb
.ram.max
(orrm
,ramMax
): The total memory. For example:2.9gb
.ram.percent
(orrp
,ramPercent
): The used percentage of the total operating system memory. This reflects all processes running on the operating system instead of only Elasticsearch and is not guaranteed to correlate to its performance.refresh.total
(orrto
,refreshTotal
): The number of refresh operations.refresh.time
(orrti
,refreshTime
): The time spent in refresh operations. For example:91ms
.request_cache.memory_size
(orrcm
,requestCacheMemory
): The used request cache memory. For example:0b
.request_cache.evictions
(orrce
,requestCacheEvictions
): The number of request cache evictions.request_cache.hit_count
(orrchc
,requestCacheHitCount
): The request cache hit count.request_cache.miss_count
(orrcmc
,requestCacheMissCount
): The request cache miss count.script.compilations
(orscrcc
,scriptCompilations
): The number of total script compilations.script.cache_evictions
(orscrce
,scriptCacheEvictions
): The number of total compiled scripts evicted from cache.search.fetch_current
(orsfc
,searchFetchCurrent
): The number of current fetch phase operations.search.fetch_time
(orsfti
,searchFetchTime
): The time spent in fetch phase. For example:37ms
.search.fetch_total
(orsfto
,searchFetchTotal
): The number of fetch operations.search.open_contexts
(orso
,searchOpenContexts
): The number of open search contexts.search.query_current
(orsqc
,searchQueryCurrent
): The number of current query phase operations.search.query_time
(orsqti
,searchQueryTime
): The time spent in query phase. For example:43ms
.search.query_total
(orsqto
,searchQueryTotal
): The number of query operations.search.scroll_current
(orscc
,searchScrollCurrent
): The number of open scroll contexts.search.scroll_time
(orscti
,searchScrollTime
): The amount of time scroll contexts were held open. For example:2m
.search.scroll_total
(orscto
,searchScrollTotal
): The number of completed scroll contexts.segments.count
(orsc
,segmentsCount
): The number of segments.segments.fixed_bitset_memory
(orsfbm
,fixedBitsetMemory
): The memory used by fixed bit sets for nested object field types and type filters for types referred in join fields. For example:1.0kb
.segments.index_writer_memory
(orsiwm
,segmentsIndexWriterMemory
): The memory used by the index writer. For example:18mb
.segments.memory
(orsm
,segmentsMemory
): The memory used by segments. For example:1.4kb
.segments.version_map_memory
(orsvmm
,segmentsVersionMapMemory
): The memory used by the version map. For example:1.0kb
.shard_stats.total_count
(orsstc
,shards
,shardStatsTotalCount
): The number of shards assigned.suggest.current
(orsuc
,suggestCurrent
): The number of current suggest operations.suggest.time
(orsuti
,suggestTime
): The time spent in suggest operations.suggest.total
(orsuto
,suggestTotal
): The number of suggest operations.uptime
(oru
): The amount of node uptime. For example:17.3m
.version
(orv
): The Elasticsearch version. For example:9.0.0
.
-
s
string | array[string] A comma-separated list of column names or aliases that determines the sort order. Sorting defaults to ascending and can be changed by setting
:asc
or:desc
as a suffix to the column name. -
master_timeout
string The period to wait for a connection to the master node.
-
time
string The unit used to display time values.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
.
curl \
--request GET 'http://api.example.com/_cat/nodes' \
--header "Authorization: $API_KEY"
[
{
"ip": "127.0.0.1",
"heap.percent": "65",
"ram.percent": "99",
"cpu": "42",
"load_1m": "3.07",
"load_5m": null,
"load_15m": null,
"node.role": "cdfhilmrstw",
"master": "*",
"name": "mJw06l1"
}
]
[
{
"id": "veJR",
"ip": "127.0.0.1",
"port": "59938",
"v": "9.0.0",
"m": "*"
}
]