Get node statistics
- GET /_nodes/{node_id}/stats/{metric}/{index_metric}
- GET /_nodes/stats/{metric}/{index_metric}
- GET /_nodes/{node_id}/stats/{metric}
- GET /_nodes/{node_id}/stats
- GET /_nodes/stats/{metric}
- GET /_nodes/stats
Get statistics for nodes in a cluster. By default, all stats are returned. You can limit the returned information by using metrics.
- Cluster privileges:
monitor,manage
Path Parameters
-
node_idNodeId | NodeIdoptional -
Comma-separated list of node IDs or names used to limit returned information.
Leave it out to use
/_nodes/stats. -
metricstring | stringoptional -
Limits the information returned to the specific metrics.
Leave it out to use
/_nodes/stats. -
index_metricstring | stringoptional -
Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.
Leave it out to use
/_nodes/stats.
Query Parameters
-
completion_fieldsFields Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
-
fielddata_fieldsFields Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
-
fieldsFields Comma-separated list or wildcard expressions of fields to include in the statistics.
-
groupsboolean Comma-separated list of search groups to include in the search statistics.
-
include_segment_file_sizesboolean · default: false If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
-
levelLevel · default: node Indicates whether statistics are aggregated at the node, indices, or shards level.
-
Values:
clusterindicesshards -
timeoutstring Duration · default: 30s Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
-
typesstring A comma-separated list of document types for the indexing index metric.
-
include_unloaded_segmentsboolean · default: false If
true, the response includes information from segments that are not loaded into memory.
Response
-
_nodesNodeStatistics -
Contains statistics about the number of nodes selected by the request’s node filters.
-
failuresErrorCause -
typestringrequired -
The type of error
-
reasonstringnullable -
A human-readable explanation of the error, in English.
-
stack_tracestring -
The server stack trace. Present only if the
error_trace=trueparameter was sent with the request. -
caused_byErrorCause -
root_causeErrorCause -
suppressedErrorCause -
totalnumberrequired -
Total number of nodes selected by the request.
-
successfulnumberrequired -
Number of nodes that responded successfully to the request.
-
failednumberrequired -
Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or failure is included in the response.
-
cluster_namestring Name -
nodesmap string to Statsrequired -
<string>Stats -
adaptive_selectionmap string to AdaptiveSelection -
Statistics about adaptive replica selection.
-
<string>AdaptiveSelection -
avg_queue_sizenumber -
The exponentially weighted moving average queue size of search requests on the keyed node.
-
avg_response_timestring Duration -
The exponentially weighted moving average response time of search requests on the keyed node.
-
avg_response_time_nsnumber -
The exponentially weighted moving average response time, in nanoseconds, of search requests on the keyed node.
-
avg_service_timestring Duration -
The exponentially weighted moving average service time of search requests on the keyed node.
-
avg_service_time_nsnumber -
The exponentially weighted moving average service time, in nanoseconds, of search requests on the keyed node.
-
outgoing_searchesnumber -
The number of outstanding search requests to the keyed node from the node these stats are for.
-
rankstring -
The rank of this node; used for shard selection when routing search requests.
-
allocationsAllocations -
Statistics about shard allocations on the node.
-
shardsnumber -
Number of shards allocated to the node.
-
undesired_shardsnumber -
Number of shards allocated to the node that are currently undesired.
-
forecasted_ingest_loadnumber -
Forecasted ingest load for the node.
-
forecasted_disk_usage_in_bytesnumber -
Forecasted disk usage, in bytes, for the node.
-
current_disk_usage_in_bytesnumber -
Current disk usage, in bytes, for the node.
-
breakersmap string to Breaker -
Statistics about the field data circuit breaker.
-
<string>Breaker -
estimated_sizestring -
Estimated memory used for the operation.
-
estimated_size_in_bytesnumber -
Estimated memory used, in bytes, for the operation.
-
limit_sizestring -
Memory limit for the circuit breaker.
-
limit_size_in_bytesnumber -
Memory limit, in bytes, for the circuit breaker.
-
overheadnumber -
A constant that all estimates for the circuit breaker are multiplied with to calculate a final estimate.
-
trippednumber -
Total number of times the circuit breaker has been triggered and prevented an out of memory error.
-
fsFileSystem -
File system information, data path, free disk space, read/write stats.
-
dataDataPathStats -
List of all file stores.
-
availablestring -
Total amount of disk space available to this Java virtual machine on this file store.
-
available_in_bytesnumber -
Total number of bytes available to this Java virtual machine on this file store.
-
disk_queuestring -
disk_readsnumber -
disk_read_sizestring -
disk_read_size_in_bytesnumber -
disk_writesnumber -
disk_write_sizestring -
disk_write_size_in_bytesnumber -
freestring -
Total amount of unallocated disk space in the file store.
-
free_in_bytesnumber -
Total number of unallocated bytes in the file store.
-
mountstring -
Mount point of the file store (for example:
/dev/sda2). -
pathstring -
Path to the file store.
-
totalstring -
Total size of the file store.
-
total_in_bytesnumber -
Total size of the file store in bytes.
-
typestring -
Type of the file store (ex: ext4).
-
timestampnumber -
Last time the file stores statistics were refreshed. Recorded in milliseconds since the Unix Epoch.
-
totalFileSystemTotal -
Contains statistics for all file stores of the node.
-
availablestring -
Total disk space available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less than
free. This is the actual amount of free disk space the Elasticsearch node can utilise. -
available_in_bytesnumber -
Total number of bytes available to this Java virtual machine on all file stores. Depending on OS or process level restrictions, this might appear less than
free_in_bytes. This is the actual amount of free disk space the Elasticsearch node can utilise. -
freestring -
Total unallocated disk space in all file stores.
-
free_in_bytesnumber -
Total number of unallocated bytes in all file stores.
-
totalstring -
Total size of all file stores.
-
total_in_bytesnumber -
Total size of all file stores in bytes.
-
io_statsIoStats -
Contains I/O statistics for the node.
-
devicesIoStatDevice -
Array of disk metrics for each device that is backing an Elasticsearch data path. These disk metrics are probed periodically and averages between the last probe and the current probe are computed.
-
device_namestring -
The Linux device name.
-
operationsnumber -
The total number of read and write operations for the device completed since starting Elasticsearch.
-
read_kilobytesnumber -
The total number of kilobytes read for the device since starting Elasticsearch.
-
read_operationsnumber -
The total number of read operations for the device completed since starting Elasticsearch.
-
write_kilobytesnumber -
The total number of kilobytes written for the device since starting Elasticsearch.
-
write_operationsnumber -
The total number of write operations for the device completed since starting Elasticsearch.
-
totalIoStatDevice -
The sum of the disk metrics for all devices that back an Elasticsearch data path.
-
device_namestring -
The Linux device name.
-
operationsnumber -
The total number of read and write operations for the device completed since starting Elasticsearch.
-
read_kilobytesnumber -
The total number of kilobytes read for the device since starting Elasticsearch.
-
read_operationsnumber -
The total number of read operations for the device completed since starting Elasticsearch.
-
write_kilobytesnumber -
The total number of kilobytes written for the device since starting Elasticsearch.
-
write_operationsnumber -
The total number of write operations for the device completed since starting Elasticsearch.
-
hoststring -
Network host for the node, based on the network host setting.
-
httpHttp -
HTTP connection information.
-
current_opennumber -
Current number of open HTTP connections for the node.
-
total_openednumber -
Total number of HTTP connections opened for the node.
-
clientsClient -
Information on current and recently-closed HTTP client connections. Clients that have been closed longer than the
http.client_stats.closed_channels.max_agesetting will not be represented here. -
idnumber -
Unique ID for the HTTP client.
-
agentstring -
Reported agent for the HTTP client. If unavailable, this property is not included in the response.
-
local_addressstring -
Local address for the HTTP connection.
-
remote_addressstring -
Remote address for the HTTP connection.
-
last_uristring -
The URI of the client’s most recent request.
-
opened_time_millisnumber -
Time at which the client opened the connection.
-
closed_time_millisnumber -
Time at which the client closed the connection if the connection is closed.
-
last_request_time_millisnumber -
Time of the most recent request from this client.
-
request_countnumber -
Number of requests from this client.
-
request_size_bytesnumber -
Cumulative size in bytes of all requests from this client.
-
x_opaque_idstring -
Value from the client’s
x-opaque-idHTTP header. If unavailable, this property is not included in the response. -
routesmap string to HttpRouterequired -
Detailed HTTP stats broken down by route
-
<string>HttpRoute -
requestsHttpRouteRequestsrequired -
countnumberrequired -
total_size_in_bytesnumberrequired -
size_histogramSizeHttpHistogramrequired -
responsesHttpRouteResponsesrequired -
countnumberrequired -
total_size_in_bytesnumberrequired -
handling_time_histogramTimeHttpHistogramrequired -
size_histogramSizeHttpHistogramrequired -
ingestIngest -
Statistics about ingest preprocessing.
-
pipelinesmap string to IngestStats -
Contains statistics about ingest pipelines for the node.
-
<string>IngestStats -
countnumberrequired -
Total number of documents ingested during the lifetime of this node.
-
currentnumberrequired -
Total number of documents currently being ingested.
-
failednumberrequired -
Total number of failed ingest operations during the lifetime of this node.
-
processorsstring to KeyedProcessorrequired -
Total number of ingest processors.
-
time_in_millisDurationValueUnitMillisrequired -
Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.
-
ingested_as_first_pipeline_in_bytesnumberrequired -
Total number of bytes of all documents ingested by the pipeline. This field is only present on pipelines which are the first to process a document. Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors.
-
produced_as_first_pipeline_in_bytesnumberrequired -
Total number of bytes of all documents produced by the pipeline. This field is only present on pipelines which are the first to process a document. Thus, it is not present on pipelines which only serve as a final pipeline after a default pipeline, a pipeline run after a reroute processor, or pipelines in pipeline processors. In situations where there are subsequent pipelines, the value represents the size of the document after all pipelines have run.
-
totalIngestTotal -
Contains statistics about ingest operations for the node.
-
countnumberrequired -
Total number of documents ingested during the lifetime of this node.
-
currentnumberrequired -
Total number of documents currently being ingested.
-
failednumberrequired -
Total number of failed ingest operations during the lifetime of this node.
-
time_in_millisDurationValueUnitMillisrequired -
Total time, in milliseconds, spent preprocessing ingest documents during the lifetime of this node.
-
ipIp | Ip -
IP address and port for the node.
-
jvmJvm -
JVM stats, memory pool information, garbage collection, buffer pools, number of loaded/unloaded classes.
-
buffer_poolsmap string to NodeBufferPool -
Contains statistics about JVM buffer pools for the node.
-
<string>NodeBufferPool -
countnumber -
Number of buffer pools.
-
total_capacitystring -
Total capacity of buffer pools.
-
total_capacity_in_bytesnumber -
Total capacity of buffer pools in bytes.
-
usedstring -
Size of buffer pools.
-
used_in_bytesnumber -
Size of buffer pools in bytes.
-
classesJvmClasses -
Contains statistics about classes loaded by JVM for the node.
-
current_loaded_countnumber -
Number of classes currently loaded by JVM.
-
total_loaded_countnumber -
Total number of classes loaded since the JVM started.
-
total_unloaded_countnumber -
Total number of classes unloaded since the JVM started.
-
gcGarbageCollector -
Contains statistics about JVM garbage collectors for the node.
-
collectorsmap string to GarbageCollectorTotal -
Contains statistics about JVM garbage collectors for the node.
-
<string>GarbageCollectorTotal -
collection_countnumber -
Total number of JVM garbage collectors that collect objects.
-
collection_timestring -
Total time spent by JVM collecting objects.
-
collection_time_in_millisnumber -
Total time, in milliseconds, spent by JVM collecting objects.
-
memJvmMemoryStats -
Contains JVM memory usage statistics for the node.
-
heap_used_in_bytesnumber -
Memory, in bytes, currently in use by the heap.
-
heap_used_percentnumber -
Percentage of memory currently in use by the heap.
-
heap_committed_in_bytesnumber -
Amount of memory, in bytes, available for use by the heap.
-
heap_max_in_bytesnumber -
Maximum amount of memory, in bytes, available for use by the heap.
-
heap_maxnumber | string ByteSize -
Maximum amount of memory, available for use by the heap.
-
non_heap_used_in_bytesnumber -
Non-heap memory used, in bytes.
-
non_heap_committed_in_bytesnumber -
Amount of non-heap memory available, in bytes.
-
poolsmap string to Pool -
Contains statistics about heap memory usage for the node.
-
<string>Pool -
used_in_bytesnumber -
Memory, in bytes, used by the heap.
-
max_in_bytesnumber -
Maximum amount of memory, in bytes, available for use by the heap.
-
peak_used_in_bytesnumber -
Largest amount of memory, in bytes, historically used by the heap.
-
peak_max_in_bytesnumber -
Largest amount of memory, in bytes, historically used by the heap.
-
threadsJvmThreads -
Contains statistics about JVM thread usage for the node.
-
countnumber -
Number of active threads in use by JVM.
-
peak_countnumber -
Highest number of threads used by JVM.
-
timestampnumber -
Last time JVM statistics were refreshed.
-
uptimestring -
Human-readable JVM uptime. Only returned if the
humanquery parameter istrue. -
uptime_in_millisnumber -
JVM uptime in milliseconds.
-
namestring Name -
Human-readable identifier for the node. Based on the node name setting.
-
osOperatingSystem -
Operating system stats, load average, mem, swap.
-
cpuCpu -
percentnumber -
sysstring Duration -
sys_in_millisDurationValueUnitMillis -
totalstring Duration -
total_in_millisDurationValueUnitMillis -
userstring Duration -
user_in_millisDurationValueUnitMillis -
load_averagemap string to number -
memExtendedMemoryStats -
adjusted_total_in_bytesnumber -
If the amount of physical memory has been overridden using the
es.total_memory_bytessystem property then this reports the overridden value in bytes. Otherwise it reports the same value astotal_in_bytes. -
residentstring -
resident_in_bytesnumber -
total_virtualstring -
total_virtual_in_bytesnumber -
total_in_bytesnumber -
Total amount of physical memory in bytes.
-
free_in_bytesnumber -
Amount of free physical memory in bytes.
-
used_in_bytesnumber -
Amount of used physical memory in bytes.
-
free_percentnumber -
Percentage of free memory.
-
used_percentnumber -
Percentage of used memory.
-
swapMemoryStats -
adjusted_total_in_bytesnumber -
If the amount of physical memory has been overridden using the
es.total_memory_bytessystem property then this reports the overridden value in bytes. Otherwise it reports the same value astotal_in_bytes. -
residentstring -
resident_in_bytesnumber -
total_virtualstring -
total_virtual_in_bytesnumber -
total_in_bytesnumber -
Total amount of physical memory in bytes.
-
free_in_bytesnumber -
Amount of free physical memory in bytes.
-
used_in_bytesnumber -
Amount of used physical memory in bytes.
-
cgroupCgroup -
cpuacctCpuAcct -
Contains statistics about
cpuacctcontrol group for the node. -
control_groupstring -
The
cpuacctcontrol group to which the Elasticsearch process belongs. -
usage_nanosDurationValueUnitNanos -
The total CPU time, in nanoseconds, consumed by all tasks in the same cgroup as the Elasticsearch process.
-
cpuCgroupCpu -
Contains statistics about
cpucontrol group for the node. -
control_groupstring -
The
cpucontrol group to which the Elasticsearch process belongs. -
cfs_period_microsnumber -
The period of time, in microseconds, for how regularly all tasks in the same cgroup as the Elasticsearch process should have their access to CPU resources reallocated.
-
cfs_quota_microsnumber -
The total amount of time, in microseconds, for which all tasks in the same cgroup as the Elasticsearch process can run during one period
cfs_period_micros. -
statCgroupCpuStat -
Contains CPU statistics for the node.
-
number_of_elapsed_periodsnumber -
The number of reporting periods (as specified by
cfs_period_micros) that have elapsed. -
number_of_times_throttlednumber -
The number of times all tasks in the same cgroup as the Elasticsearch process have been throttled.
-
time_throttled_nanosDurationValueUnitNanos -
The total amount of time, in nanoseconds, for which all tasks in the same cgroup as the Elasticsearch process have been throttled.
-
memoryCgroupMemory -
Contains statistics about the memory control group for the node.
-
control_groupstring -
The
memorycontrol group to which the Elasticsearch process belongs. -
limit_in_bytesstring -
The maximum amount of user memory (including file cache) allowed for all tasks in the same cgroup as the Elasticsearch process. This value can be too big to store in a
long, so is returned as a string so that the value returned can exactly match what the underlying operating system interface returns. Any value that is too large to parse into alongalmost certainly means no limit has been set for the cgroup. -
usage_in_bytesstring -
The total current memory usage by processes in the cgroup, in bytes, by all tasks in the same cgroup as the Elasticsearch process. This value is stored as a string for consistency with
limit_in_bytes. -
timestampnumber -
processProcess -
Process statistics, memory consumption, cpu usage, open file descriptors.
-
cpuCpu -
Contains CPU statistics for the node.
-
percentnumber -
sysstring Duration -
sys_in_millisDurationValueUnitMillis -
totalstring Duration -
total_in_millisDurationValueUnitMillis -
userstring Duration -
user_in_millisDurationValueUnitMillis -
load_averagemap string to number -
memMemoryStats -
Contains virtual memory statistics for the node.
-
open_file_descriptorsnumber -
Number of opened file descriptors associated with the current or
-1if not supported. -
max_file_descriptorsnumber -
Maximum number of file descriptors allowed on the system, or
-1if not supported. -
timestampnumber -
Last time the statistics were refreshed. Recorded in milliseconds since the Unix Epoch.
-
rolesNodeRoles -
Roles assigned to the node.
-
Values:
masterdatadata_colddata_contentdata_frozendata_hotdata_warmclientingestmlvoting_onlytransformremote_cluster_clientcoordinating_only -
scriptScripting -
Contains script statistics for the node.
-
cache_evictionsnumber -
Total number of times the script cache has evicted old data.
-
compilationsnumber -
Total number of inline script compilations performed by the node.
-
compilations_historymap string to number -
Contains this recent history of script compilations.
-
compilation_limit_triggerednumber -
Total number of times the script compilation circuit breaker has limited inline script compilations.
-
contextsContext -
contextstring -
compilationsnumber -
cache_evictionsnumber -
compilation_limit_triggerednumber -
script_cachemap string to oneOf -
thread_poolmap string to ThreadCount -
Statistics about each thread pool, including current size, queue and rejected tasks.
-
<string>ThreadCount -
activenumber -
Number of active threads in the thread pool.
-
completednumber -
Number of tasks completed by the thread pool executor.
-
largestnumber -
Highest number of active threads in the thread pool.
-
queuenumber -
Number of tasks in queue for the thread pool.
-
rejectednumber -
Number of tasks rejected by the thread pool executor.
-
threadsnumber -
Number of threads in the thread pool.
-
timestampnumber -
transportTransport -
Transport statistics about sent and received bytes in cluster communication.
-
inbound_handling_time_histogramTransportHistogram -
The distribution of the time spent handling each inbound message on a transport thread, represented as a histogram.
-
countnumber -
The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.
-
lt_millisnumber -
The exclusive upper bound of the bucket in milliseconds. May be omitted on the last bucket if this bucket has no upper bound.
-
ge_millisnumber -
The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.
-
outbound_handling_time_histogramTransportHistogram -
The distribution of the time spent sending each outbound transport message on a transport thread, represented as a histogram.
-
countnumber -
The number of times a transport thread took a period of time within the bounds of this bucket to handle an inbound message.
-
lt_millisnumber -
The exclusive upper bound of the bucket in milliseconds. May be omitted on the last bucket if this bucket has no upper bound.
-
ge_millisnumber -
The inclusive lower bound of the bucket in milliseconds. May be omitted on the first bucket if this bucket has no lower bound.
-
rx_countnumber -
Total number of RX (receive) packets received by the node during internal cluster communication.
-
rx_sizestring -
Size of RX packets received by the node during internal cluster communication.
-
rx_size_in_bytesnumber -
Size, in bytes, of RX packets received by the node during internal cluster communication.
-
server_opennumber -
Current number of inbound TCP connections used for internal communication between nodes.
-
tx_countnumber -
Total number of TX (transmit) packets sent by the node during internal cluster communication.
-
tx_sizestring -
Size of TX packets sent by the node during internal cluster communication.
-
tx_size_in_bytesnumber -
Size, in bytes, of TX packets sent by the node during internal cluster communication.
-
total_outbound_connectionsnumber -
The cumulative number of outbound transport connections that this node has opened since it started. Each transport connection may comprise multiple TCP connections but is only counted once in this statistic. Transport connections are typically long-lived so this statistic should remain constant in a stable cluster.
-
transport_addressstring -
Host and port for the transport layer, used for internal communication between nodes in a cluster.
-
attributesmap string to string -
Contains a list of attributes for the node.
-
discoveryDiscovery -
Contains node discovery statistics for the node.
-
cluster_state_queueClusterStateQueue -
Contains statistics for the cluster state queue of the node.
-
published_cluster_statesPublishedClusterStates -
Contains statistics for the published cluster states of the node.
-
full_statesnumber -
Number of published cluster states.
-
incompatible_diffsnumber -
Number of incompatible differences between published cluster states.
-
compatible_diffsnumber -
Number of compatible differences between published cluster states.
-
cluster_state_updatemap string to ClusterStateUpdate -
Contains low-level statistics about how long various activities took during cluster state updates while the node was the elected master. Omitted if the node is not master-eligible. Every field whose name ends in
_timewithin this object is also represented as a raw number of milliseconds in a field whose name ends in_time_millis. The human-readable fields with a_timesuffix are only returned if requested with the?human=truequery parameter. -
<string>ClusterStateUpdate -
countnumberrequired -
The number of cluster state update attempts that did not change the cluster state since the node started.
-
computation_timestring Duration -
The cumulative amount of time spent computing no-op cluster state updates since the node started.
-
computation_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent computing no-op cluster state updates since the node started.
-
publication_timestring Duration -
The cumulative amount of time spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update. This includes the time measured by
context_construction_time,commit_time,completion_timeandmaster_apply_time. -
publication_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent publishing cluster state updates which ultimately succeeded, which includes everything from the start of the publication (just after the computation of the new cluster state) until the publication has finished and the master node is ready to start processing the next state update. This includes the time measured by
context_construction_time,commit_time,completion_timeandmaster_apply_time. -
context_construction_timestring Duration -
The cumulative amount of time spent constructing a publication context since the node started for publications that ultimately succeeded. This statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.
-
context_construction_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent constructing a publication context since the node started for publications that ultimately succeeded. This statistic includes the time spent computing the difference between the current and new cluster state preparing a serialized representation of this difference.
-
commit_timestring Duration -
The cumulative amount of time spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.
-
commit_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to commit, which measures the time from the start of each publication until a majority of the master-eligible nodes have written the state to disk and confirmed the write to the elected master.
-
completion_timestring Duration -
The cumulative amount of time spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.
-
completion_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent waiting for a successful cluster state update to complete, which measures the time from the start of each publication until all the other nodes have notified the elected master that they have applied the cluster state.
-
master_apply_timestring Duration -
The cumulative amount of time spent successfully applying cluster state updates on the elected master since the node started.
-
master_apply_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent successfully applying cluster state updates on the elected master since the node started.
-
notification_timestring Duration -
The cumulative amount of time spent notifying listeners of a no-op cluster state update since the node started.
-
notification_time_millisDurationValueUnitMillis -
The cumulative amount of time, in milliseconds, spent notifying listeners of a no-op cluster state update since the node started.
-
serialized_cluster_statesSerializedClusterState -
full_statesSerializedClusterStateDetail -
Number of published cluster states.
-
countnumber -
uncompressed_sizestring -
uncompressed_size_in_bytesnumber -
compressed_sizestring -
compressed_size_in_bytesnumber -
diffsSerializedClusterStateDetail -
countnumber -
uncompressed_sizestring -
uncompressed_size_in_bytesnumber -
compressed_sizestring -
compressed_size_in_bytesnumber -
cluster_applier_statsClusterAppliedStats -
recordingsRecording -
namestring -
cumulative_execution_countnumber -
cumulative_execution_timestring Duration -
cumulative_execution_time_millisDurationValueUnitMillis -
indexing_pressureIndexingPressure -
Contains indexing pressure statistics for the node.
-
memoryIndexingPressureMemory -
Contains statistics for memory consumption from indexing load.
-
limitnumber | string ByteSize -
Configured memory limit for the indexing requests. Replica requests have an automatic limit that is 1.5x this value.
-
limit_in_bytesnumber -
Configured memory limit, in bytes, for the indexing requests. Replica requests have an automatic limit that is 1.5x this value.
-
currentPressureMemory -
Contains statistics for current indexing load.
-
allnumber | string ByteSize -
Memory consumed by indexing requests in the coordinating, primary, or replica stage.
-
all_in_bytesnumber -
Memory consumed, in bytes, by indexing requests in the coordinating, primary, or replica stage.
-
combined_coordinating_and_primarynumber | string ByteSize -
Memory consumed by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.
-
combined_coordinating_and_primary_in_bytesnumber -
Memory consumed, in bytes, by indexing requests in the coordinating or primary stage. This value is not the sum of coordinating and primary as a node can reuse the coordinating memory if the primary stage is executed locally.
-
coordinatingnumber | string ByteSize -
Memory consumed by indexing requests in the coordinating stage.
-
coordinating_in_bytesnumber -
Memory consumed, in bytes, by indexing requests in the coordinating stage.
-
primarynumber | string ByteSize -
Memory consumed by indexing requests in the primary stage.
-
primary_in_bytesnumber -
Memory consumed, in bytes, by indexing requests in the primary stage.
-
replicanumber | string ByteSize -
Memory consumed by indexing requests in the replica stage.
-
replica_in_bytesnumber -
Memory consumed, in bytes, by indexing requests in the replica stage.
-
coordinating_rejectionsnumber -
Number of indexing requests rejected in the coordinating stage.
-
primary_rejectionsnumber -
Number of indexing requests rejected in the primary stage.
-
replica_rejectionsnumber -
Number of indexing requests rejected in the replica stage.
-
primary_document_rejectionsnumber -
large_operation_rejectionsnumber -
totalPressureMemory -
Contains statistics for the cumulative indexing load since the node started.
-
indicesShardStats -
Indices stats about size, document count, indexing and deletion times, search times, field cache size, merges and flushes.
-
commitShardCommit -
generationnumberrequired -
idstring Idrequired -
num_docsnumberrequired -
user_datamap string to stringrequired -
completionCompletionStats -
size_in_bytesnumberrequired -
Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.
-
sizenumber | string ByteSize -
Total amount of memory used for completion across all shards assigned to selected nodes.
-
fieldsmap string to FieldSizeUsage -
<string>FieldSizeUsage -
sizenumber | string ByteSize -
size_in_bytesnumberrequired -
docsDocStats -
countnumberrequired -
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
deletednumber -
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
total_size_in_bytesnumberrequired -
Returns the total size in bytes of all documents in this stats. This value may be more reliable than store_stats.size_in_bytes in estimating the index size.
-
total_sizenumber | string ByteSize -
Human readable total_size_in_bytes
-
fielddataFielddataStats -
evictionsnumber -
memory_sizenumber | string ByteSize -
memory_size_in_bytesnumberrequired -
fieldsmap string to FieldMemoryUsage -
<string>FieldMemoryUsage -
memory_sizenumber | string ByteSize -
memory_size_in_bytesnumberrequired -
global_ordinalsGlobalOrdinalsStatsrequired -
build_time_in_millisnumberrequired -
build_timestring -
fieldsmap string to GlobalOrdinalFieldStats -
<string>GlobalOrdinalFieldStats -
build_time_in_millisnumberrequired -
build_timestring -
shard_max_value_countnumberrequired -
flushFlushStats -
periodicnumberrequired -
totalnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
getGetStats -
currentnumberrequired -
exists_timestring Duration -
exists_time_in_millisDurationValueUnitMillisrequired -
exists_totalnumberrequired -
missing_timestring Duration -
missing_time_in_millisDurationValueUnitMillisrequired -
missing_totalnumberrequired -
timestring Duration -
time_in_millisDurationValueUnitMillisrequired -
totalnumberrequired -
indexingIndexingStats -
index_currentnumberrequired -
delete_currentnumberrequired -
delete_timestring Duration -
delete_time_in_millisDurationValueUnitMillisrequired -
delete_totalnumberrequired -
is_throttledbooleanrequired -
noop_update_totalnumberrequired -
throttle_timestring Duration -
throttle_time_in_millisDurationValueUnitMillisrequired -
index_timestring Duration -
index_time_in_millisDurationValueUnitMillisrequired -
index_totalnumberrequired -
index_failednumberrequired -
typesmap string to IndexingStats -
write_loadnumber -
mappingsMappingStats -
total_countnumberrequired -
total_estimated_overheadnumber | string ByteSize -
total_estimated_overhead_in_bytesnumberrequired -
mergesMergesStats -
currentnumberrequired -
current_docsnumberrequired -
current_sizestring -
current_size_in_bytesnumberrequired -
totalnumberrequired -
total_auto_throttlestring -
total_auto_throttle_in_bytesnumberrequired -
total_docsnumberrequired -
total_sizestring -
total_size_in_bytesnumberrequired -
total_stopped_timestring Duration -
total_stopped_time_in_millisDurationValueUnitMillisrequired -
total_throttled_timestring Duration -
total_throttled_time_in_millisDurationValueUnitMillisrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
shard_pathShardPath -
data_pathstringrequired -
is_custom_data_pathbooleanrequired -
state_pathstringrequired -
query_cacheShardQueryCache -
cache_countnumberrequired -
cache_sizenumberrequired -
evictionsnumberrequired -
hit_countnumberrequired -
memory_size_in_bytesnumberrequired -
miss_countnumberrequired -
total_countnumberrequired -
recoveryRecoveryStats -
current_as_sourcenumberrequired -
current_as_targetnumberrequired -
throttle_timestring Duration -
throttle_time_in_millisDurationValueUnitMillisrequired -
refreshRefreshStats -
external_totalnumberrequired -
external_total_time_in_millisDurationValueUnitMillisrequired -
listenersnumberrequired -
totalnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
request_cacheRequestCacheStats -
evictionsnumberrequired -
hit_countnumberrequired -
memory_sizestring -
memory_size_in_bytesnumberrequired -
miss_countnumberrequired -
retention_leasesShardRetentionLeases -
primary_termnumberrequired -
versionnumber VersionNumberrequired -
leasesShardLeaserequired -
idstring Idrequired -
retaining_seq_nonumber SequenceNumberrequired -
timestampnumberrequired -
sourcestringrequired -
routingShardRouting -
nodestringrequired -
primarybooleanrequired -
relocating_nodestringnullable -
stateShardRoutingStaterequired -
Values:
UNASSIGNEDINITIALIZINGSTARTEDRELOCATING -
searchSearchStats -
fetch_currentnumberrequired -
fetch_timestring Duration -
fetch_time_in_millisDurationValueUnitMillisrequired -
fetch_totalnumberrequired -
open_contextsnumber -
query_currentnumberrequired -
query_timestring Duration -
query_time_in_millisDurationValueUnitMillisrequired -
query_totalnumberrequired -
scroll_currentnumberrequired -
scroll_timestring Duration -
scroll_time_in_millisDurationValueUnitMillisrequired -
scroll_totalnumberrequired -
suggest_currentnumberrequired -
suggest_timestring Duration -
suggest_time_in_millisDurationValueUnitMillisrequired -
suggest_totalnumberrequired -
groupsmap string to SearchStats -
segmentsSegmentsStats -
countnumberrequired -
Total number of segments across all shards assigned to selected nodes.
-
doc_values_memorynumber | string ByteSize -
Total amount of memory used for doc values across all shards assigned to selected nodes.
-
doc_values_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for doc values across all shards assigned to selected nodes.
-
file_sizesmap string to ShardFileSizeInforequired -
This object is not populated by the cluster stats API. To get information on segment files, use the node stats API.
-
<string>ShardFileSizeInfo -
descriptionstringrequired -
size_in_bytesnumberrequired -
min_size_in_bytesnumber -
max_size_in_bytesnumber -
average_size_in_bytesnumber -
countnumber -
fixed_bit_setnumber | string ByteSize -
Total amount of memory used by fixed bit sets across all shards assigned to selected nodes. Fixed bit sets are used for nested object field types and type filters for join fields.
-
fixed_bit_set_memory_in_bytesnumberrequired -
Total amount of memory, in bytes, used by fixed bit sets across all shards assigned to selected nodes.
-
index_writer_memorynumber | string ByteSize -
Total amount of memory used by all index writers across all shards assigned to selected nodes.
-
index_writer_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used by all index writers across all shards assigned to selected nodes.
-
max_unsafe_auto_id_timestampnumberrequired -
Unix timestamp, in milliseconds, of the most recently retried indexing request.
-
memorynumber | string ByteSize -
Total amount of memory used for segments across all shards assigned to selected nodes.
-
memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for segments across all shards assigned to selected nodes.
-
norms_memorynumber | string ByteSize -
Total amount of memory used for normalization factors across all shards assigned to selected nodes.
-
norms_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for normalization factors across all shards assigned to selected nodes.
-
points_memorynumber | string ByteSize -
Total amount of memory used for points across all shards assigned to selected nodes.
-
points_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for points across all shards assigned to selected nodes.
-
stored_fields_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for stored fields across all shards assigned to selected nodes.
-
stored_fields_memorynumber | string ByteSize -
Total amount of memory used for stored fields across all shards assigned to selected nodes.
-
terms_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for terms across all shards assigned to selected nodes.
-
terms_memorynumber | string ByteSize -
Total amount of memory used for terms across all shards assigned to selected nodes.
-
term_vectors_memorynumber | string ByteSize -
Total amount of memory used for term vectors across all shards assigned to selected nodes.
-
term_vectors_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used for term vectors across all shards assigned to selected nodes.
-
version_map_memorynumber | string ByteSize -
Total amount of memory used by all version maps across all shards assigned to selected nodes.
-
version_map_memory_in_bytesnumberrequired -
Total amount, in bytes, of memory used by all version maps across all shards assigned to selected nodes.
-
seq_noShardSequenceNumber -
global_checkpointnumberrequired -
local_checkpointnumberrequired -
max_seq_nonumber SequenceNumberrequired -
storeStoreStats -
sizenumber | string ByteSize -
Total size of all shards assigned to selected nodes.
-
size_in_bytesnumberrequired -
Total size, in bytes, of all shards assigned to selected nodes.
-
reservednumber | string ByteSize -
A prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
reserved_in_bytesnumberrequired -
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
total_data_set_sizenumber | string ByteSize -
Total data set size of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
total_data_set_size_in_bytesnumber -
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
translogTranslogStats -
earliest_last_modified_agenumberrequired -
operationsnumberrequired -
sizestring -
size_in_bytesnumberrequired -
uncommitted_operationsnumberrequired -
uncommitted_sizestring -
uncommitted_size_in_bytesnumberrequired -
warmerWarmerStats -
currentnumberrequired -
totalnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
bulkBulkStats -
total_operationsnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
total_sizenumber | string ByteSize -
total_size_in_bytesnumberrequired -
avg_timestring Duration -
avg_time_in_millisDurationValueUnitMillisrequired -
avg_sizenumber | string ByteSize -
avg_size_in_bytesnumberrequired -
shardsmap string to object -
shard_statsShardsTotalStats -
total_countnumberrequired -
indicesIndicesStats -
primariesIndexStats -
completionCompletionStats -
Contains statistics about completions across all shards assigned to the node.
-
size_in_bytesnumberrequired -
Total amount, in bytes, of memory used for completion across all shards assigned to selected nodes.
-
sizenumber | string ByteSize -
Total amount of memory used for completion across all shards assigned to selected nodes.
-
fieldsmap string to FieldSizeUsage -
<string>FieldSizeUsage -
sizenumber | string ByteSize -
size_in_bytesnumberrequired -
docsDocStats -
Contains statistics about documents across all primary shards assigned to the node.
-
countnumberrequired -
Total number of non-deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments and may include documents from nested fields.
-
deletednumber -
Total number of deleted documents across all primary shards assigned to selected nodes. This number is based on documents in Lucene segments. Elasticsearch reclaims the disk space of deleted Lucene documents when a segment is merged.
-
total_size_in_bytesnumberrequired -
Returns the total size in bytes of all documents in this stats. This value may be more reliable than store_stats.size_in_bytes in estimating the index size.
-
total_sizenumber | string ByteSize -
Human readable total_size_in_bytes
-
fielddataFielddataStats -
Contains statistics about the field data cache across all shards assigned to the node.
-
flushFlushStats -
Contains statistics about flush operations for the node.
-
periodicnumberrequired -
totalnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
getGetStats -
Contains statistics about get operations for the node.
-
indexingIndexingStats -
Contains statistics about indexing operations for the node.
-
indicesIndicesStats -
Contains statistics about indices operations for the node.
-
mergesMergesStats -
Contains statistics about merge operations for the node.
-
query_cacheQueryCacheStats -
Contains statistics about the query cache across all shards assigned to the node.
-
cache_countnumberrequired -
Total number of entries added to the query cache across all shards assigned to selected nodes. This number includes current and evicted entries.
-
cache_sizenumberrequired -
Total number of entries currently in the query cache across all shards assigned to selected nodes.
-
evictionsnumberrequired -
Total number of query cache evictions across all shards assigned to selected nodes.
-
hit_countnumberrequired -
Total count of query cache hits across all shards assigned to selected nodes.
-
memory_sizenumber | string ByteSize -
Total amount of memory used for the query cache across all shards assigned to selected nodes.
-
memory_size_in_bytesnumberrequired -
Total amount, in bytes, of memory used for the query cache across all shards assigned to selected nodes.
-
miss_countnumberrequired -
Total count of query cache misses across all shards assigned to selected nodes.
-
total_countnumberrequired -
Total count of hits and misses in the query cache across all shards assigned to selected nodes.
-
recoveryRecoveryStats -
Contains statistics about recovery operations for the node.
-
current_as_sourcenumberrequired -
current_as_targetnumberrequired -
throttle_timestring Duration -
throttle_time_in_millisDurationValueUnitMillisrequired -
refreshRefreshStats -
Contains statistics about refresh operations for the node.
-
external_totalnumberrequired -
external_total_time_in_millisDurationValueUnitMillisrequired -
listenersnumberrequired -
totalnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
request_cacheRequestCacheStats -
Contains statistics about the request cache across all shards assigned to the node.
-
evictionsnumberrequired -
hit_countnumberrequired -
memory_sizestring -
memory_size_in_bytesnumberrequired -
miss_countnumberrequired -
searchSearchStats -
Contains statistics about search operations for the node.
-
segmentsSegmentsStats -
Contains statistics about segments across all shards assigned to the node.
-
storeStoreStats -
Contains statistics about the size of shards assigned to the node.
-
sizenumber | string ByteSize -
Total size of all shards assigned to selected nodes.
-
size_in_bytesnumberrequired -
Total size, in bytes, of all shards assigned to selected nodes.
-
reservednumber | string ByteSize -
A prediction of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
reserved_in_bytesnumberrequired -
A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.
-
total_data_set_sizenumber | string ByteSize -
Total data set size of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
total_data_set_size_in_bytesnumber -
Total data set size, in bytes, of all shards assigned to selected nodes. This includes the size of shards not stored fully on the nodes, such as the cache for partially mounted indices.
-
translogTranslogStats -
Contains statistics about transaction log operations for the node.
-
earliest_last_modified_agenumberrequired -
operationsnumberrequired -
sizestring -
size_in_bytesnumberrequired -
uncommitted_operationsnumberrequired -
uncommitted_sizestring -
uncommitted_size_in_bytesnumberrequired -
warmerWarmerStats -
Contains statistics about index warming operations for the node.
-
currentnumberrequired -
totalnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
bulkBulkStats -
total_operationsnumberrequired -
total_timestring Duration -
total_time_in_millisDurationValueUnitMillisrequired -
total_sizenumber | string ByteSize -
total_size_in_bytesnumberrequired -
avg_timestring Duration -
avg_time_in_millisDurationValueUnitMillisrequired -
avg_sizenumber | string ByteSize -
avg_size_in_bytesnumberrequired -
shard_statsShardsTotalStats -
total_countnumberrequired -
shardsmap string to ShardStats -
totalIndexStats -
uuidstring -
healthHealthStatus -
Supported values include:
green(orGREEN): All shards are assigned.yellow(orYELLOW): All primary shards are assigned, but one or more replica shards are unassigned. If a node in the cluster fails, some data could be unavailable until that node is repaired.red(orRED): One or more primary shards are unassigned, so some data is unavailable. This can occur briefly during cluster startup as primary shards are assigned.unknownunavailable
-
Values:
greenGREENyellowYELLOWredREDunknownunavailable -
statusIndexMetadataState -
Values:
openclose