Query parameters
-
The unit used to display byte values.
Values are
b
,kb
,mb
,gb
,tb
, orpb
. -
If
true
, return the full node ID. Iffalse
, return the shortened node ID. -
If true, the response includes information from segments that are not loaded into memory.
-
A comma-separated list of columns names to display. It supports simple wildcards.
Values are
build
,b
,completion.size
,cs
,completionSize
,cpu
,disk.avail
,d
,disk
,diskAvail
,disk.total
,dt
,diskTotal
,disk.used
,du
,diskUsed
,disk.used_percent
,dup
,diskUsedPercent
,fielddata.evictions
,fe
,fielddataEvictions
,fielddata.memory_size
,fm
,fielddataMemory
,file_desc.current
,fdc
,fileDescriptorCurrent
,file_desc.max
,fdm
,fileDescriptorMax
,file_desc.percent
,fdp
,fileDescriptorPercent
,flush.total
,ft
,flushTotal
,flush.total_time
,ftt
,flushTotalTime
,get.current
,gc
,getCurrent
,get.exists_time
,geti
,getExistsTime
,get.exists_total
,geto
,getExistsTotal
,get.missing_time
,gmti
,getMissingTime
,get.missing_total
,gmto
,getMissingTotal
,get.time
,gti
,getTime
,get.total
,gto
,getTotal
,heap.current
,hc
,heapCurrent
,heap.max
,hm
,heapMax
,heap.percent
,hp
,heapPercent
,http_address
,http
,id
,nodeId
,indexing.delete_current
,idc
,indexingDeleteCurrent
,indexing.delete_time
,idti
,indexingDeleteTime
,indexing.delete_total
,idto
,indexingDeleteTotal
,indexing.index_current
,iic
,indexingIndexCurrent
,indexing.index_failed
,iif
,indexingIndexFailed
,indexing.index_failed_due_to_version_conflict
,iifvc
,indexingIndexFailedDueToVersionConflict
,indexing.index_time
,iiti
,indexingIndexTime
,indexing.index_total
,iito
,indexingIndexTotal
,ip
,i
,jdk
,j
,load_1m
,l
,load_5m
,load_15m
,mappings.total_count
,mtc
,mappingsTotalCount
,mappings.total_estimated_overhead_in_bytes
,mteo
,mappingsTotalEstimatedOverheadInBytes
,master
,m
,merges.current
,mc
,mergesCurrent
,merges.current_docs
,mcd
,mergesCurrentDocs
,merges.current_size
,mcs
,mergesCurrentSize
,merges.total
,mt
,mergesTotal
,merges.total_docs
,mtd
,mergesTotalDocs
,merges.total_size
,mts
,mergesTotalSize
,merges.total_time
,mtt
,mergesTotalTime
,name
,n
,node.role
,r
,role
,nodeRole
,pid
,p
,port
,po
,query_cache.memory_size
,qcm
,queryCacheMemory
,query_cache.evictions
,qce
,queryCacheEvictions
,query_cache.hit_count
,qchc
,queryCacheHitCount
,query_cache.miss_count
,qcmc
,queryCacheMissCount
,ram.current
,rc
,ramCurrent
,ram.max
,rm
,ramMax
,ram.percent
,rp
,ramPercent
,refresh.total
,rto
,refreshTotal
,refresh.time
,rti
,refreshTime
,request_cache.memory_size
,rcm
,requestCacheMemory
,request_cache.evictions
,rce
,requestCacheEvictions
,request_cache.hit_count
,rchc
,requestCacheHitCount
,request_cache.miss_count
,rcmc
,requestCacheMissCount
,script.compilations
,scrcc
,scriptCompilations
,script.cache_evictions
,scrce
,scriptCacheEvictions
,search.fetch_current
,sfc
,searchFetchCurrent
,search.fetch_time
,sfti
,searchFetchTime
,search.fetch_total
,sfto
,searchFetchTotal
,search.open_contexts
,so
,searchOpenContexts
,search.query_current
,sqc
,searchQueryCurrent
,search.query_time
,sqti
,searchQueryTime
,search.query_total
,sqto
,searchQueryTotal
,search.scroll_current
,scc
,searchScrollCurrent
,search.scroll_time
,scti
,searchScrollTime
,search.scroll_total
,scto
,searchScrollTotal
,segments.count
,sc
,segmentsCount
,segments.fixed_bitset_memory
,sfbm
,fixedBitsetMemory
,segments.index_writer_memory
,siwm
,segmentsIndexWriterMemory
,segments.memory
,sm
,segmentsMemory
,segments.version_map_memory
,svmm
,segmentsVersionMapMemory
,shard_stats.total_count
,sstc
,shards
,shardStatsTotalCount
,suggest.current
,suc
,suggestCurrent
,suggest.time
,suti
,suggestTime
,suggest.total
,suto
,suggestTotal
,uptime
,u
,version
, orv
. -
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. -
The period to wait for a connection to the master node.
Values are
-1
or0
. -
The unit used to display time values.
Values are
nanos
,micros
,ms
,s
,m
,h
, ord
.
GET /_cat/nodes?v=true&h=id,ip,port,v,m&format=json
resp = client.cat.nodes( v=True, h="id,ip,port,v,m", format="json", )
const response = await client.cat.nodes({ v: "true", h: "id,ip,port,v,m", format: "json", });
response = client.cat.nodes( v: "true", h: "id,ip,port,v,m", format: "json" )
$resp = $client->cat()->nodes([ "v" => "true", "h" => "id,ip,port,v,m", "format" => "json", ]);
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_cat/nodes?v=true&h=id,ip,port,v,m&format=json"
[ { "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": "*" } ]