nodes-stats.asciidoc 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782
  1. [[cluster-nodes-stats]]
  2. === Nodes stats API
  3. ++++
  4. <titleabbrev>Nodes stats</titleabbrev>
  5. ++++
  6. Returns cluster nodes statistics.
  7. [[cluster-nodes-stats-api-request]]
  8. ==== {api-request-title}
  9. `GET /_nodes/stats` +
  10. `GET /_nodes/<node_id>/stats` +
  11. `GET /_nodes/stats/<metric>` +
  12. `GET /_nodes/<node_id>/stats/<metric>` +
  13. `GET /_nodes/stats/<metric>/<index_metric>` +
  14. `GET /_nodes/<node_id>/stats/<metric>/<index_metric>`
  15. [[cluster-nodes-stats-api-prereqs]]
  16. ==== {api-prereq-title}
  17. * If the {es} {security-features} are enabled, you must have the `monitor` or
  18. `manage` <<privileges-list-cluster,cluster privilege>> to use this API.
  19. [[cluster-nodes-stats-api-desc]]
  20. ==== {api-description-title}
  21. You can use the cluster nodes stats API to retrieve statistics for nodes in a cluster.
  22. All the nodes selective options are explained <<cluster-nodes,here>>.
  23. By default, all stats are returned. You can limit the returned information by
  24. using metrics.
  25. [[cluster-nodes-stats-api-path-params]]
  26. ==== {api-path-parms-title}
  27. `<metric>`::
  28. (Optional, string) Limits the information returned to the specific metrics.
  29. A comma-separated list of the following options:
  30. +
  31. --
  32. `adaptive_selection`::
  33. Statistics about <<search-adaptive-replica,adaptive replica selection>>.
  34. `breaker`::
  35. Statistics about the field data circuit breaker.
  36. `discovery`::
  37. Statistics about the discovery.
  38. `fs`::
  39. File system information, data path, free disk space, read/write
  40. stats.
  41. `http`::
  42. HTTP connection information.
  43. `indexing_pressure`::
  44. Statistics about the node's indexing load and related rejections.
  45. `indices`::
  46. Indices stats about size, document count, indexing and deletion times,
  47. search times, field cache size, merges and flushes.
  48. `ingest`::
  49. Statistics about ingest preprocessing.
  50. `jvm`::
  51. JVM stats, memory pool information, garbage collection, buffer
  52. pools, number of loaded/unloaded classes.
  53. `os`::
  54. Operating system stats, load average, mem, swap.
  55. `process`::
  56. Process statistics, memory consumption, cpu usage, open
  57. file descriptors.
  58. `thread_pool`::
  59. Statistics about each thread pool, including current size, queue and
  60. rejected tasks.
  61. `transport`::
  62. Transport statistics about sent and received bytes in cluster
  63. communication.
  64. --
  65. `<index_metric>`::
  66. (Optional, string) Limit the information returned for `indices` metric to
  67. the specific index metrics. It can be used only if `indices` (or `all`)
  68. metric is specified. Supported metrics are:
  69. +
  70. --
  71. * `bulk`
  72. * `completion`
  73. * `docs`
  74. * `fielddata`
  75. * `flush`
  76. * `get`
  77. * `indexing`
  78. * `mappings`
  79. * `merge`
  80. * `query_cache`
  81. * `recovery`
  82. * `refresh`
  83. * `request_cache`
  84. * `search`
  85. * `segments`
  86. * `shard_stats`
  87. * `store`
  88. * `translog`
  89. * `warmer`
  90. --
  91. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=node-id]
  92. [[cluster-nodes-stats-api-query-params]]
  93. ==== {api-query-parms-title}
  94. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=completion-fields]
  95. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=fielddata-fields]
  96. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=fields]
  97. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=groups]
  98. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=level]
  99. `types`::
  100. (Optional, string) A comma-separated list of document types for the
  101. `indexing` index metric.
  102. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
  103. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=include-segment-file-sizes]
  104. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=include-unloaded-segments]
  105. [role="child_attributes"]
  106. [[cluster-nodes-stats-api-response-body]]
  107. ==== {api-response-body-title}
  108. `_nodes`::
  109. (object)
  110. Contains statistics about the number of nodes selected by the request.
  111. +
  112. .Properties of `_nodes`
  113. [%collapsible%open]
  114. ====
  115. `total`::
  116. (integer)
  117. Total number of nodes selected by the request.
  118. `successful`::
  119. (integer)
  120. Number of nodes that responded successfully to the request.
  121. `failed`::
  122. (integer)
  123. Number of nodes that rejected the request or failed to respond. If this value
  124. is not `0`, a reason for the rejection or failure is included in the response.
  125. ====
  126. `cluster_name`::
  127. (string)
  128. Name of the cluster. Based on the <<cluster-name>> setting.
  129. `nodes`::
  130. (object)
  131. Contains statistics for the nodes selected by the request.
  132. +
  133. .Properties of `nodes`
  134. [%collapsible%open]
  135. ====
  136. `<node_id>`::
  137. (object)
  138. Contains statistics for the node.
  139. +
  140. .Properties of `<node_id>`
  141. [%collapsible%open]
  142. =====
  143. `timestamp`::
  144. (integer)
  145. Time the node stats were collected for this response. Recorded in milliseconds
  146. since the {wikipedia}/Unix_time[Unix Epoch].
  147. `name`::
  148. (string)
  149. Human-readable identifier for the node. Based on the <<node-name>> setting.
  150. `transport_address`::
  151. (string)
  152. Host and port for the <<transport-settings,transport layer>>, used for internal
  153. communication between nodes in a cluster.
  154. `host`::
  155. (string)
  156. Network host for the node, based on the <<network.host>> setting.
  157. `ip`::
  158. (string)
  159. IP address and port for the node.
  160. `roles`::
  161. (array of strings)
  162. Roles assigned to the node. See <<modules-node>>.
  163. `attributes`::
  164. (object)
  165. Contains a list of attributes for the node.
  166. [[cluster-nodes-stats-api-response-body-indices]]
  167. `indices`::
  168. (object)
  169. Contains statistics about indices with shards assigned to the node.
  170. +
  171. .Properties of `indices`
  172. [%collapsible%open]
  173. ======
  174. `docs`::
  175. (object)
  176. Contains statistics about documents across all primary shards assigned to the
  177. node.
  178. +
  179. .Properties of `docs`
  180. [%collapsible%open]
  181. =======
  182. `count`::
  183. (integer)
  184. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=docs-count]
  185. `deleted`::
  186. (integer)
  187. include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=docs-deleted]
  188. =======
  189. `store`::
  190. (object)
  191. Contains statistics about the size of shards assigned to the node.
  192. +
  193. .Properties of `store`
  194. [%collapsible%open]
  195. =======
  196. `size`::
  197. (<<byte-units,byte value>>)
  198. Total size of all shards assigned to the node.
  199. `size_in_bytes`::
  200. (integer)
  201. Total size, in bytes, of all shards assigned to the node.
  202. `total_data_set_size`::
  203. (<<byte-units,byte value>>)
  204. Total data set size of all shards assigned to the node.
  205. This includes the size of shards not stored fully on the node, such as the
  206. cache for <<partially-mounted,partially mounted indices>>.
  207. `total_data_set_size_in_bytes`::
  208. (integer)
  209. Total data set size, in bytes, of all shards assigned to the node.
  210. This includes the size of shards not stored fully on the node, such as the
  211. cache for <<partially-mounted,partially mounted indices>>.
  212. `reserved`::
  213. (<<byte-units,byte value>>)
  214. A prediction of how much larger the shard stores on this node will eventually
  215. grow due to ongoing peer recoveries, restoring snapshots, and similar
  216. activities. A value of `-1b` indicates that this is not available.
  217. `reserved_in_bytes`::
  218. (integer)
  219. A prediction, in bytes, of how much larger the shard stores on this node will
  220. eventually grow due to ongoing peer recoveries, restoring snapshots, and
  221. similar activities. A value of `-1` indicates that this is not available.
  222. =======
  223. `indexing`::
  224. (object)
  225. Contains statistics about indexing operations for the node.
  226. +
  227. .Properties of `indexing`
  228. [%collapsible%open]
  229. =======
  230. `index_total`::
  231. (integer)
  232. Total number of indexing operations.
  233. `index_time`::
  234. (<<time-units,time value>>)
  235. Total time spent performing indexing operations.
  236. `index_time_in_millis`::
  237. (integer)
  238. Total time in milliseconds
  239. spent performing indexing operations.
  240. `index_current`::
  241. (integer)
  242. Number of indexing operations currently running.
  243. `index_failed`::
  244. (integer)
  245. Number of failed indexing operations.
  246. `delete_total`::
  247. (integer)
  248. Total number of deletion operations.
  249. `delete_time`::
  250. (<<time-units,time value>>)
  251. Time spent performing deletion operations.
  252. `delete_time_in_millis`::
  253. (integer)
  254. Time in milliseconds
  255. spent performing deletion operations.
  256. `delete_current`::
  257. (integer)
  258. Number of deletion operations currently running.
  259. `noop_update_total`::
  260. (integer)
  261. Total number of noop operations.
  262. `is_throttled`::
  263. (Boolean)
  264. Number of times
  265. operations were throttled.
  266. `throttle_time`::
  267. (<<time-units,time value>>)
  268. Total time spent throttling operations.
  269. `throttle_time_in_millis`::
  270. (integer)
  271. Total time in milliseconds
  272. spent throttling operations.
  273. `write_load`::
  274. (double)
  275. Average number of write threads used while indexing documents.
  276. =======
  277. `get`::
  278. (object)
  279. Contains statistics about get operations for the node.
  280. +
  281. .Properties of `get`
  282. [%collapsible%open]
  283. =======
  284. `total`::
  285. (integer)
  286. Total number of get operations.
  287. `getTime`::
  288. (<<time-units,time value>>)
  289. Time spent performing get operations.
  290. `time_in_millis`::
  291. (integer)
  292. Time in milliseconds
  293. spent performing get operations.
  294. `exists_total`::
  295. (integer)
  296. Total number of successful get operations.
  297. `exists_time`::
  298. (<<time-units,time value>>)
  299. Time spent performing successful get operations.
  300. `exists_time_in_millis`::
  301. (integer)
  302. Time in milliseconds
  303. spent performing successful get operations.
  304. `missing_total`::
  305. (integer)
  306. Total number of failed get operations.
  307. `missing_time`::
  308. (<<time-units,time value>>)
  309. Time spent performing failed get operations.
  310. `missing_time_in_millis`::
  311. (integer)
  312. Time in milliseconds
  313. spent performing failed get operations.
  314. `current`::
  315. (integer)
  316. Number of get operations currently running.
  317. =======
  318. `search`::
  319. (object)
  320. Contains statistics about search operations for the node.
  321. +
  322. .Properties of `search`
  323. [%collapsible%open]
  324. =======
  325. `open_contexts`::
  326. (integer)
  327. Number of open search contexts.
  328. `query_total`::
  329. (integer)
  330. Total number of query operations.
  331. `query_time`::
  332. (<<time-units,time value>>)
  333. Time spent performing query operations.
  334. `query_time_in_millis`::
  335. (integer)
  336. Time in milliseconds
  337. spent performing query operations.
  338. `query_current`::
  339. (integer)
  340. Number of query operations currently running.
  341. `fetch_total`::
  342. (integer)
  343. Total number of fetch operations.
  344. `fetch_time`::
  345. (<<time-units,time value>>)
  346. Time spent performing fetch operations.
  347. `fetch_time_in_millis`::
  348. (integer)
  349. Time in milliseconds
  350. spent performing fetch operations.
  351. `fetch_current`::
  352. (integer)
  353. Number of fetch operations currently running.
  354. `scroll_total`::
  355. (integer)
  356. Total number of scroll operations.
  357. `scroll_time`::
  358. (<<time-units,time value>>)
  359. Time spent performing scroll operations.
  360. `scroll_time_in_millis`::
  361. (integer)
  362. Time in milliseconds
  363. spent performing scroll operations.
  364. `scroll_current`::
  365. (integer)
  366. Number of scroll operations currently running.
  367. `suggest_total`::
  368. (integer)
  369. Total number of suggest operations.
  370. `suggest_time`::
  371. (<<time-units,time value>>)
  372. Time spent performing suggest operations.
  373. `suggest_time_in_millis`::
  374. (integer)
  375. Time in milliseconds
  376. spent performing suggest operations.
  377. `suggest_current`::
  378. (integer)
  379. Number of suggest operations currently running.
  380. =======
  381. `merges`::
  382. (object)
  383. Contains statistics about merge operations for the node.
  384. +
  385. .Properties of `merges`
  386. [%collapsible%open]
  387. =======
  388. `current`::
  389. (integer)
  390. Number of merge operations currently running.
  391. `current_docs`::
  392. (integer)
  393. Number of document merges currently running.
  394. `current_size`::
  395. (<<byte-units,byte value>>)
  396. Memory used performing current document merges.
  397. `current_size_in_bytes`::
  398. (integer)
  399. Memory, in bytes, used performing current document merges.
  400. `total`::
  401. (integer)
  402. Total number of merge operations.
  403. `total_time`::
  404. (<<time-units,time value>>)
  405. Total time spent performing merge operations.
  406. `total_time_in_millis`::
  407. (integer)
  408. Total time in milliseconds
  409. spent performing merge operations.
  410. `total_docs`::
  411. (integer)
  412. Total number of merged documents.
  413. `total_size`::
  414. (<<byte-units,byte value>>)
  415. Total size of document merges.
  416. `total_size_in_bytes`::
  417. (integer)
  418. Total size of document merges in bytes.
  419. `total_stopped_time`::
  420. (<<time-units,time value>>)
  421. Total time spent stopping merge operations.
  422. `total_stopped_time_in_millis`::
  423. (integer)
  424. Total time in milliseconds
  425. spent stopping merge operations.
  426. `total_throttled_time`::
  427. (<<time-units,time value>>)
  428. Total time spent throttling merge operations.
  429. `total_throttled_time_in_millis`::
  430. (integer)
  431. Total time in milliseconds
  432. spent throttling merge operations.
  433. `total_auto_throttle`::
  434. (<<byte-units,byte value>>)
  435. Size of automatically throttled merge operations.
  436. `total_auto_throttle_in_bytes`::
  437. (integer)
  438. Size, in bytes, of automatically throttled merge operations.
  439. =======
  440. `refresh`::
  441. (object)
  442. Contains statistics about refresh operations for the node.
  443. +
  444. .Properties of `refresh`
  445. [%collapsible%open]
  446. =======
  447. `total`::
  448. (integer)
  449. Total number of refresh operations.
  450. `total_time`::
  451. (<<time-units,time value>>)
  452. Total time spent performing refresh operations.
  453. `total_time_in_millis`::
  454. (integer)
  455. Total time in milliseconds
  456. spent performing refresh operations.
  457. `external_total`::
  458. (integer)
  459. Total number of external refresh operations.
  460. `external_total_time`::
  461. (<<time-units,time value>>)
  462. Total time spent performing external operations.
  463. `external_total_time_in_millis`::
  464. (integer)
  465. Total time in milliseconds
  466. spent performing external operations.
  467. `listeners`::
  468. (integer)
  469. Number of refresh listeners.
  470. =======
  471. `flush`::
  472. (object)
  473. Contains statistics about flush operations for the node.
  474. +
  475. .Properties of `flush`
  476. [%collapsible%open]
  477. =======
  478. `total`::
  479. (integer)
  480. Number of flush operations.
  481. `periodic`::
  482. (integer)
  483. Number of flush periodic operations.
  484. `total_time`::
  485. (<<time-units,time value>>)
  486. Total time spent performing flush operations.
  487. `total_time_in_millis`::
  488. (integer)
  489. Total time in milliseconds
  490. spent performing flush operations.
  491. =======
  492. `warmer`::
  493. (object)
  494. Contains statistics about index warming operations for the node.
  495. +
  496. .Properties of `warmer`
  497. [%collapsible%open]
  498. =======
  499. `current`::
  500. (integer)
  501. Number of active index warmers.
  502. `total`::
  503. (integer)
  504. Total number of index warmers.
  505. `total_time`::
  506. (<<time-units,time value>>)
  507. Total time spent performing index warming operations.
  508. `total_time_in_millis`::
  509. (integer)
  510. Total time in milliseconds
  511. spent performing index warming operations.
  512. =======
  513. `query_cache`::
  514. (object)
  515. Contains statistics about the query cache across all shards assigned to the
  516. node.
  517. +
  518. .Properties of `query_cache`
  519. [%collapsible%open]
  520. =======
  521. `memory_size`::
  522. (<<byte-units,byte value>>)
  523. Total amount of memory used for the query cache across all shards assigned to
  524. the node.
  525. `memory_size_in_bytes`::
  526. (integer)
  527. Total amount of memory, in bytes, used for the query cache across all shards
  528. assigned to the node.
  529. `total_count`::
  530. (integer)
  531. Total count of hits, misses, and cached queries
  532. in the query cache.
  533. `hit_count`::
  534. (integer)
  535. Number of query cache hits.
  536. `miss_count`::
  537. (integer)
  538. Number of query cache misses.
  539. `cache_size`::
  540. (integer)
  541. Size, in bytes, of the query cache.
  542. `cache_count`::
  543. (integer)
  544. Count of queries
  545. in the query cache.
  546. `evictions`::
  547. (integer)
  548. Number of query cache evictions.
  549. =======
  550. `fielddata`::
  551. (object)
  552. Contains statistics about the field data cache across all shards
  553. assigned to the node.
  554. +
  555. .Properties of `fielddata`
  556. [%collapsible%open]
  557. =======
  558. `memory_size`::
  559. (<<byte-units,byte value>>)
  560. Total amount of memory used for the field data cache across all shards
  561. assigned to the node.
  562. `memory_size_in_bytes`::
  563. (integer)
  564. Total amount of memory, in bytes, used for the field data cache across all
  565. shards assigned to the node.
  566. `evictions`::
  567. (integer)
  568. Number of fielddata evictions.
  569. =======
  570. `completion`::
  571. (object)
  572. Contains statistics about completions across all shards assigned to the node.
  573. +
  574. .Properties of `completion`
  575. [%collapsible%open]
  576. =======
  577. `size`::
  578. (<<byte-units,byte value>>)
  579. Total amount of memory used for completion across all shards assigned to
  580. the node.
  581. `size_in_bytes`::
  582. (integer)
  583. Total amount of memory, in bytes, used for completion across all shards assigned
  584. to the node.
  585. =======
  586. `segments`::
  587. (object)
  588. Contains statistics about segments across all shards assigned to the node.
  589. +
  590. .Properties of `segments`
  591. [%collapsible%open]
  592. =======
  593. `count`::
  594. (integer)
  595. Number of segments.
  596. `memory`::
  597. (<<byte-units,byte value>>)
  598. Total amount of memory used for segments across all shards assigned to the
  599. node.
  600. `memory_in_bytes`::
  601. (integer)
  602. Total amount of memory, in bytes, used for segments across all shards assigned
  603. to the node.
  604. `terms_memory`::
  605. (<<byte-units,byte value>>)
  606. Total amount of memory used for terms across all shards assigned to the node.
  607. `terms_memory_in_bytes`::
  608. (integer)
  609. Total amount of memory, in bytes, used for terms across all shards assigned to
  610. the node.
  611. `stored_fields_memory`::
  612. (<<byte-units,byte value>>)
  613. Total amount of memory used for stored fields across all shards assigned to
  614. the node.
  615. `stored_fields_memory_in_bytes`::
  616. (integer)
  617. Total amount of memory, in bytes, used for stored fields across all shards
  618. assigned to the node.
  619. `term_vectors_memory`::
  620. (<<byte-units,byte value>>)
  621. Total amount of memory used for term vectors across all shards assigned to
  622. the node.
  623. `term_vectors_memory_in_bytes`::
  624. (integer)
  625. Total amount of memory, in bytes, used for term vectors across all shards
  626. assigned to the node.
  627. `norms_memory`::
  628. (<<byte-units,byte value>>)
  629. Total amount of memory used for normalization factors across all shards assigned
  630. to the node.
  631. `norms_memory_in_bytes`::
  632. (integer)
  633. Total amount of memory, in bytes, used for normalization factors across all
  634. shards assigned to the node.
  635. `points_memory`::
  636. (<<byte-units,byte value>>)
  637. Total amount of memory used for points across all shards assigned to the node.
  638. `points_memory_in_bytes`::
  639. (integer)
  640. Total amount of memory, in bytes, used for points across all shards assigned to
  641. the node.
  642. `doc_values_memory`::
  643. (<<byte-units,byte value>>)
  644. Total amount of memory used for doc values across all shards assigned to
  645. the node.
  646. `doc_values_memory_in_bytes`::
  647. (integer)
  648. Total amount of memory, in bytes, used for doc values across all shards assigned
  649. to the node.
  650. `index_writer_memory`::
  651. (<<byte-units,byte value>>)
  652. Total amount of memory used by all index writers across all shards assigned to
  653. the node.
  654. `index_writer_memory_in_bytes`::
  655. (integer)
  656. Total amount of memory, in bytes, used by all index writers across all shards
  657. assigned to the node.
  658. `version_map_memory`::
  659. (<<byte-units,byte value>>)
  660. Total amount of memory used by all version maps across all shards assigned to
  661. the node.
  662. `version_map_memory_in_bytes`::
  663. (integer)
  664. Total amount of memory, in bytes, used by all version maps across all shards
  665. assigned to the node.
  666. `fixed_bit_set`::
  667. (<<byte-units,byte value>>)
  668. Total amount of memory used by fixed bit sets across all shards assigned to
  669. the node.
  670. +
  671. Fixed bit sets are used for nested object field types and
  672. type filters for <<parent-join,join>> fields.
  673. `fixed_bit_set_memory_in_bytes`::
  674. (integer)
  675. Total amount of memory, in bytes, used by fixed bit sets across all shards
  676. assigned to the node.
  677. +
  678. Fixed bit sets are used for nested object field types and
  679. type filters for <<parent-join,join>> fields.
  680. `max_unsafe_auto_id_timestamp`::
  681. (integer)
  682. Time of the most recently retried indexing request. Recorded in milliseconds
  683. since the {wikipedia}/Unix_time[Unix Epoch].
  684. `file_sizes`::
  685. (object)
  686. Contains statistics about the size of the segment file.
  687. +
  688. .Properties of `file_sizes`
  689. [%collapsible%open]
  690. ========
  691. `size`::
  692. (<<byte-units,byte value>>)
  693. Size of the segment file.
  694. `size_in_bytes`::
  695. (integer)
  696. Size, in bytes,
  697. of the segment file.
  698. `description`::
  699. (string)
  700. Description of the segment file.
  701. ========
  702. =======
  703. `translog`::
  704. (object)
  705. Contains statistics about transaction log operations for the node.
  706. +
  707. .Properties of `translog`
  708. [%collapsible%open]
  709. =======
  710. `operations`::
  711. (integer)
  712. Number of transaction log operations.
  713. `size`::
  714. (<<byte-units,byte value>>)
  715. Size of the transaction log.
  716. `size_in_bytes`::
  717. (integer)
  718. Size, in bytes, of the transaction log.
  719. `uncommitted_operations`::
  720. (integer)
  721. Number of uncommitted transaction log operations.
  722. `uncommitted_size`::
  723. (<<byte-units,byte value>>)
  724. Size of uncommitted transaction log operations.
  725. `uncommitted_size_in_bytes`::
  726. (integer)
  727. Size, in bytes, of uncommitted transaction log operations.
  728. `earliest_last_modified_age`::
  729. (integer)
  730. Earliest last modified age
  731. for the transaction log.
  732. =======
  733. `request_cache`::
  734. (object)
  735. Contains statistics about the request cache across all shards assigned to the
  736. node.
  737. +
  738. .Properties of `request_cache`
  739. [%collapsible%open]
  740. =======
  741. `memory_size`::
  742. (<<byte-units,byte value>>)
  743. Memory used by the request cache.
  744. `memory_size_in_bytes`::
  745. (integer)
  746. Memory, in bytes, used by the request cache.
  747. `evictions`::
  748. (integer)
  749. Number of request cache operations.
  750. `hit_count`::
  751. (integer)
  752. Number of request cache hits.
  753. `miss_count`::
  754. (integer)
  755. Number of request cache misses.
  756. =======
  757. `recovery`::
  758. (object)
  759. Contains statistics about recovery operations for the node.
  760. +
  761. .Properties of `recovery`
  762. [%collapsible%open]
  763. =======
  764. `current_as_source`::
  765. (integer)
  766. Number of recoveries
  767. that used an index shard as a source.
  768. `current_as_target`::
  769. (integer)
  770. Number of recoveries
  771. that used an index shard as a target.
  772. `throttle_time`::
  773. (<<time-units,time value>>)
  774. Time by which recovery operations were delayed due to throttling.
  775. `throttle_time_in_millis`::
  776. (integer)
  777. Time in milliseconds
  778. recovery operations were delayed due to throttling.
  779. =======
  780. `shard_stats`::
  781. (object)
  782. Contains statistics about all shards assigned to the node.
  783. +
  784. .Properties of `shard_stats`
  785. [%collapsible%open]
  786. =======
  787. `total_count`::
  788. (integer)
  789. The total number of shards assigned to the node.
  790. =======
  791. `mappings`::
  792. (object)
  793. Contains statistics about the mappings for the node.
  794. This is not shown for the `shards` level, since mappings may be
  795. shared across the shards of an index on a node.
  796. +
  797. .Properties of `mappings`
  798. [%collapsible%open]
  799. =======
  800. `total_count`::
  801. (integer)
  802. Number of mappings, including <<runtime,runtime>> and <<object,object>> fields.
  803. `total_estimated_overhead`::
  804. (<<byte-units,byte value>>)
  805. Estimated heap overhead of mappings on this node, which allows for 1kiB of heap for every mapped field.
  806. `total_estimated_overhead_in_bytes`::
  807. (integer)
  808. Estimated heap overhead, in bytes, of mappings on this node, which allows for 1kiB of heap for every mapped field.
  809. =======
  810. ======
  811. [[cluster-nodes-stats-api-response-body-os]]
  812. `os`::
  813. (object)
  814. Contains statistics about the operating system for the node.
  815. +
  816. .Properties of `os`
  817. [%collapsible%open]
  818. ======
  819. `timestamp`::
  820. (integer)
  821. Last time the operating system statistics were refreshed. Recorded in
  822. milliseconds since the {wikipedia}/Unix_time[Unix Epoch].
  823. `cpu`::
  824. (object)
  825. Contains statistics about CPU usage for the node.
  826. +
  827. .Properties of `cpu`
  828. [%collapsible%open]
  829. =======
  830. `percent`::
  831. (integer)
  832. Recent CPU usage for the whole system, or `-1` if not supported.
  833. `load_average`::
  834. (object)
  835. Contains statistics about load averages on the system.
  836. +
  837. .Properties of `load_average`
  838. [%collapsible%open]
  839. ========
  840. `1m`::
  841. (float)
  842. One-minute load average on the system (field is not present if one-minute load
  843. average is not available).
  844. `5m`::
  845. (float)
  846. Five-minute load average on the system (field is not present if five-minute load
  847. average is not available).
  848. `15m`::
  849. (float)
  850. Fifteen-minute load average on the system (field is not present if
  851. fifteen-minute load average is not available).
  852. ========
  853. =======
  854. `mem`::
  855. (object)
  856. Contains statistics about memory usage for the node.
  857. +
  858. .Properties of `mem`
  859. [%collapsible%open]
  860. =======
  861. `total`::
  862. (<<byte-units,byte value>>)
  863. Total amount of physical memory.
  864. `total_in_bytes`::
  865. (integer)
  866. Total amount of physical memory in bytes.
  867. `adjusted_total`::
  868. (<<byte-units,byte value>>)
  869. If the amount of physical memory has been overridden using the `es.total_memory_bytes`
  870. system property then this reports the overridden value. Otherwise it reports the same
  871. value as `total`.
  872. `adjusted_total_in_bytes`::
  873. (integer)
  874. If the amount of physical memory has been overridden using the `es.total_memory_bytes`
  875. system property then this reports the overridden value in bytes. Otherwise it reports
  876. the same value as `total_in_bytes`.
  877. `free`::
  878. (<<byte-units,byte value>>)
  879. Amount of free physical memory.
  880. `free_in_bytes`::
  881. (integer)
  882. Amount of free physical memory in bytes.
  883. `used`::
  884. (<<byte-units,byte value>>)
  885. Amount of used physical memory.
  886. `used_in_bytes`::
  887. (integer)
  888. Amount of used physical memory in bytes.
  889. `free_percent`::
  890. (integer)
  891. Percentage of free memory.
  892. `used_percent`::
  893. (integer)
  894. Percentage of used memory.
  895. =======
  896. `swap`::
  897. (object)
  898. Contains statistics about swap space for the node.
  899. +
  900. .Properties of `swap`
  901. [%collapsible%open]
  902. =======
  903. `total`::
  904. (<<byte-units,byte value>>)
  905. Total amount of swap space.
  906. `total_in_bytes`::
  907. (integer)
  908. Total amount of swap space in bytes.
  909. `free`::
  910. (<<byte-units,byte value>>)
  911. Amount of free swap space.
  912. `free_in_bytes`::
  913. (integer)
  914. Amount of free swap space in bytes.
  915. `used`::
  916. (<<byte-units,byte value>>)
  917. Amount of used swap space.
  918. `used_in_bytes`::
  919. (integer)
  920. Amount of used swap space in bytes.
  921. =======
  922. `cgroup` (Linux only)::
  923. (object)
  924. Contains cgroup statistics for the node.
  925. +
  926. NOTE: For the cgroup stats to be visible, cgroups must be compiled into the
  927. kernel, the `cpu` and `cpuacct` cgroup subsystems must be configured and stats
  928. must be readable from `/sys/fs/cgroup/cpu` and `/sys/fs/cgroup/cpuacct`.
  929. +
  930. .Properties of `cgroup`
  931. [%collapsible%open]
  932. =======
  933. `cpuacct` (Linux only)::
  934. (object)
  935. Contains statistics about `cpuacct` control group for the node.
  936. +
  937. .Properties of `cpuacct`
  938. [%collapsible%open]
  939. ========
  940. `control_group` (Linux only)::
  941. (string)
  942. The `cpuacct` control group to which the {es} process belongs.
  943. `usage_nanos` (Linux only)::
  944. (integer)
  945. The total CPU time (in nanoseconds) consumed by all tasks in the same cgroup
  946. as the {es} process.
  947. ========
  948. `cpu` (Linux only)::
  949. (object)
  950. Contains statistics about `cpu` control group for the node.
  951. +
  952. .Properties of `cpu`
  953. [%collapsible%open]
  954. ========
  955. `control_group` (Linux only)::
  956. (string)
  957. The `cpu` control group to which the {es} process belongs.
  958. `cfs_period_micros` (Linux only)::
  959. (integer)
  960. The period of time (in microseconds) for how regularly all tasks in the same
  961. cgroup as the {es} process should have their access to CPU resources
  962. reallocated.
  963. `cfs_quota_micros` (Linux only)::
  964. (integer)
  965. The total amount of time (in microseconds) for which all tasks in
  966. the same cgroup as the {es} process can run during one period
  967. `cfs_period_micros`.
  968. `stat` (Linux only)::
  969. (object)
  970. Contains CPU statistics for the node.
  971. +
  972. .Properties of `stat`
  973. [%collapsible%open]
  974. =========
  975. `number_of_elapsed_periods` (Linux only)::
  976. (integer)
  977. The number of reporting periods (as specified by
  978. `cfs_period_micros`) that have elapsed.
  979. `number_of_times_throttled` (Linux only)::
  980. (integer)
  981. The number of times all tasks in the same cgroup as the {es} process have
  982. been throttled.
  983. `time_throttled_nanos` (Linux only)::
  984. (integer)
  985. The total amount of time (in nanoseconds) for which all tasks in the same
  986. cgroup as the {es} process have been throttled.
  987. =========
  988. ========
  989. `memory` (Linux only)::
  990. (object)
  991. Contains statistics about the `memory` control group for the node.
  992. +
  993. .Properties of `memory`
  994. [%collapsible%open]
  995. ========
  996. `control_group` (Linux only)::
  997. (string)
  998. The `memory` control group to which the {es} process belongs.
  999. `limit_in_bytes` (Linux only)::
  1000. (string)
  1001. The maximum amount of user memory (including file cache) allowed for all
  1002. tasks in the same cgroup as the {es} process. This value can be too big to
  1003. store in a `long`, so is returned as a string so that the value returned can
  1004. exactly match what the underlying operating system interface returns. Any
  1005. value that is too large to parse into a `long` almost certainly means no
  1006. limit has been set for the cgroup.
  1007. `usage_in_bytes` (Linux only)::
  1008. (string)
  1009. The total current memory usage by processes in the cgroup (in bytes) by all
  1010. tasks in the same cgroup as the {es} process. This value is stored as a
  1011. string for consistency with `limit_in_bytes`.
  1012. ========
  1013. =======
  1014. ======
  1015. [[cluster-nodes-stats-api-response-body-process]]
  1016. `process`::
  1017. (object)
  1018. Contains process statistics for the node.
  1019. +
  1020. .Properties of `process`
  1021. [%collapsible%open]
  1022. ======
  1023. `timestamp`::
  1024. (integer)
  1025. Last time the statistics were refreshed. Recorded in milliseconds
  1026. since the {wikipedia}/Unix_time[Unix Epoch].
  1027. `open_file_descriptors`::
  1028. (integer)
  1029. Number of opened file descriptors associated with the current or
  1030. `-1` if not supported.
  1031. `max_file_descriptors`::
  1032. (integer)
  1033. Maximum number of file descriptors allowed on the system, or `-1` if not
  1034. supported.
  1035. `cpu`::
  1036. (object)
  1037. Contains CPU statistics for the node.
  1038. +
  1039. .Properties of `cpu`
  1040. [%collapsible%open]
  1041. =======
  1042. `percent`::
  1043. (integer)
  1044. CPU usage in percent, or `-1` if not known at the time the stats are
  1045. computed.
  1046. `total`::
  1047. (<<time-units,time value>>)
  1048. CPU time used by the process on which the Java virtual machine is running.
  1049. `total_in_millis`::
  1050. (integer)
  1051. CPU time (in milliseconds) used by the process on which the Java virtual
  1052. machine is running, or `-1` if not supported.
  1053. =======
  1054. `mem`::
  1055. (object)
  1056. Contains virtual memory statistics for the node.
  1057. +
  1058. .Properties of `mem`
  1059. [%collapsible%open]
  1060. =======
  1061. `total_virtual`::
  1062. (<<byte-units,byte value>>)
  1063. Size of virtual memory that is guaranteed to be available to the
  1064. running process.
  1065. `total_virtual_in_bytes`::
  1066. (integer)
  1067. Size in bytes of virtual memory that is guaranteed to be available to the
  1068. running process.
  1069. =======
  1070. ======
  1071. [[cluster-nodes-stats-api-response-body-jvm]]
  1072. `jvm`::
  1073. (object)
  1074. Contains Java Virtual Machine (JVM) statistics for the node.
  1075. +
  1076. .Properties of `jvm`
  1077. [%collapsible%open]
  1078. ======
  1079. `timestamp`::
  1080. (integer)
  1081. Last time JVM statistics were refreshed.
  1082. `uptime`::
  1083. (<<time-units,time value>>)
  1084. Human-readable JVM uptime. Only returned if the
  1085. <<_human_readable_output,`human`>> query parameter is `true`.
  1086. `uptime_in_millis`::
  1087. (integer)
  1088. JVM uptime in milliseconds.
  1089. `mem`::
  1090. (object)
  1091. Contains JVM memory usage statistics for the node.
  1092. +
  1093. .Properties of `mem`
  1094. [%collapsible%open]
  1095. =======
  1096. `heap_used`::
  1097. (<<byte-units,byte value>>)
  1098. Memory currently in use by the heap.
  1099. `heap_used_in_bytes`::
  1100. (integer)
  1101. Memory, in bytes, currently in use by the heap.
  1102. `heap_used_percent`::
  1103. (integer)
  1104. Percentage of memory currently in use by the heap.
  1105. `heap_committed`::
  1106. (<<byte-units,byte value>>)
  1107. Amount of memory available for use by the heap.
  1108. `heap_committed_in_bytes`::
  1109. (integer)
  1110. Amount of memory, in bytes, available for use by the heap.
  1111. `heap_max`::
  1112. (<<byte-units,byte value>>)
  1113. Maximum amount of memory available for use by the heap.
  1114. `heap_max_in_bytes`::
  1115. (integer)
  1116. Maximum amount of memory, in bytes, available for use by the heap.
  1117. `non_heap_used`::
  1118. (<<byte-units,byte value>>)
  1119. Non-heap memory used.
  1120. `non_heap_used_in_bytes`::
  1121. (integer)
  1122. Non-heap memory used, in bytes.
  1123. `non_heap_committed`::
  1124. (<<byte-units,byte value>>)
  1125. Amount of non-heap memory available.
  1126. `non_heap_committed_in_bytes`::
  1127. (integer)
  1128. Amount of non-heap memory available, in bytes.
  1129. `pools`::
  1130. (object)
  1131. Contains statistics about heap memory usage for the node.
  1132. +
  1133. .Properties of `pools`
  1134. [%collapsible%open]
  1135. ========
  1136. `young`::
  1137. (object)
  1138. Contains statistics about memory usage by the young generation heap for the
  1139. node.
  1140. +
  1141. .Properties of `young`
  1142. [%collapsible%open]
  1143. =========
  1144. `used`::
  1145. (<<byte-units,byte value>>)
  1146. Memory used by the young generation heap.
  1147. `used_in_bytes`::
  1148. (integer)
  1149. Memory, in bytes, used by the young generation heap.
  1150. `max`::
  1151. (<<byte-units,byte value>>)
  1152. Maximum amount of memory available for use by the young generation heap.
  1153. `max_in_bytes`::
  1154. (integer)
  1155. Maximum amount of memory, in bytes, available for use by the young generation
  1156. heap.
  1157. `peak_used`::
  1158. (<<byte-units,byte value>>)
  1159. Largest amount of memory historically used by the young generation heap.
  1160. `peak_used_in_bytes`::
  1161. (integer)
  1162. Largest amount of memory, in bytes, historically used by the young generation
  1163. heap.
  1164. `peak_max`::
  1165. (<<byte-units,byte value>>)
  1166. Largest amount of memory historically used by the young generation heap.
  1167. `peak_max_in_bytes`::
  1168. (integer)
  1169. Largest amount of memory, in bytes, historically used by the young generation
  1170. heap.
  1171. =========
  1172. `survivor`::
  1173. (object)
  1174. Contains statistics about memory usage by the survivor space for the node.
  1175. +
  1176. .Properties of `survivor`
  1177. [%collapsible%open]
  1178. =========
  1179. `used`::
  1180. (<<byte-units,byte value>>)
  1181. Memory used by the survivor space.
  1182. `used_in_bytes`::
  1183. (integer)
  1184. Memory, in bytes, used by the survivor space.
  1185. `max`::
  1186. (<<byte-units,byte value>>)
  1187. Maximum amount of memory available for use by the survivor space.
  1188. `max_in_bytes`::
  1189. (integer)
  1190. Maximum amount of memory, in bytes, available for use by the survivor space.
  1191. `peak_used`::
  1192. (<<byte-units,byte value>>)
  1193. Largest amount of memory historically used by the survivor space.
  1194. `peak_used_in_bytes`::
  1195. (integer)
  1196. Largest amount of memory, in bytes, historically used by the survivor space.
  1197. `peak_max`::
  1198. (<<byte-units,byte value>>)
  1199. Largest amount of memory historically used by the survivor space.
  1200. `peak_max_in_bytes`::
  1201. (integer)
  1202. Largest amount of memory, in bytes, historically used by the survivor space.
  1203. =========
  1204. `old`::
  1205. (object)
  1206. Contains statistics about memory usage by the old generation heap for the node.
  1207. +
  1208. .Properties of `old`
  1209. [%collapsible%open]
  1210. =========
  1211. `used`::
  1212. (<<byte-units,byte value>>)
  1213. Memory used by the old generation heap.
  1214. `used_in_bytes`::
  1215. (integer)
  1216. Memory, in bytes, used by the old generation heap.
  1217. `max`::
  1218. (<<byte-units,byte value>>)
  1219. Maximum amount of memory available for use by the old generation heap.
  1220. `max_in_bytes`::
  1221. (integer)
  1222. Maximum amount of memory, in bytes, available for use by the old generation
  1223. heap.
  1224. `peak_used`::
  1225. (<<byte-units,byte value>>)
  1226. Largest amount of memory historically used by the old generation heap.
  1227. `peak_used_in_bytes`::
  1228. (integer)
  1229. Largest amount of memory, in bytes, historically used by the old generation
  1230. heap.
  1231. `peak_max`::
  1232. (<<byte-units,byte value>>)
  1233. Highest memory limit historically available for use by the old generation heap.
  1234. `peak_max_in_bytes`::
  1235. (integer)
  1236. Highest memory limit, in bytes, historically available for use by the old
  1237. generation heap.
  1238. =========
  1239. ========
  1240. =======
  1241. `threads`::
  1242. (object)
  1243. Contains statistics about JVM thread usage for the node.
  1244. +
  1245. .Properties of `threads`
  1246. [%collapsible%open]
  1247. =======
  1248. `count`::
  1249. (integer)
  1250. Number of active threads in use by JVM.
  1251. `peak_count`::
  1252. (integer)
  1253. Highest number of threads used by JVM.
  1254. =======
  1255. `gc`::
  1256. (object)
  1257. Contains statistics about JVM garbage collectors for the node.
  1258. +
  1259. .Properties of `gc`
  1260. [%collapsible%open]
  1261. =======
  1262. `collectors`::
  1263. (object)
  1264. Contains statistics about JVM garbage collectors for the node.
  1265. +
  1266. .Properties of `collectors`
  1267. [%collapsible%open]
  1268. ========
  1269. `young`::
  1270. (object)
  1271. Contains statistics about JVM garbage collectors that collect young generation
  1272. objects for the node.
  1273. +
  1274. .Properties of `young`
  1275. [%collapsible%open]
  1276. =========
  1277. `collection_count`::
  1278. (integer)
  1279. Number of JVM garbage collectors that collect young generation objects.
  1280. `collection_time`::
  1281. (<<time-units,time value>>)
  1282. Total time spent by JVM collecting young generation objects.
  1283. `collection_time_in_millis`::
  1284. (integer)
  1285. Total time in milliseconds spent by JVM collecting young generation objects.
  1286. =========
  1287. `old`::
  1288. (object)
  1289. Contains statistics about JVM garbage collectors that collect old generation
  1290. objects for the node.
  1291. +
  1292. .Properties of `old`
  1293. [%collapsible%open]
  1294. =========
  1295. `collection_count`::
  1296. (integer)
  1297. Number of JVM garbage collectors that collect old generation objects.
  1298. `collection_time`::
  1299. (<<time-units,time value>>)
  1300. Total time spent by JVM collecting old generation objects.
  1301. `collection_time_in_millis`::
  1302. (integer)
  1303. Total time in milliseconds spent by JVM collecting old generation objects.
  1304. =========
  1305. ========
  1306. =======
  1307. `buffer_pools`::
  1308. (object)
  1309. Contains statistics about JVM buffer pools for the node.
  1310. +
  1311. .Properties of `buffer_pools`
  1312. [%collapsible%open]
  1313. =======
  1314. `mapped`::
  1315. (object)
  1316. Contains statistics about mapped JVM buffer pools for the node.
  1317. +
  1318. .Properties of `mapped`
  1319. [%collapsible%open]
  1320. ========
  1321. `count`::
  1322. (integer)
  1323. Number of mapped buffer pools.
  1324. `used`::
  1325. (<<byte-units,byte value>>)
  1326. Size of mapped buffer pools.
  1327. `used_in_bytes`::
  1328. (integer)
  1329. Size, in bytes, of mapped buffer pools.
  1330. `total_capacity`::
  1331. (<<byte-units,byte value>>)
  1332. Total capacity of mapped buffer pools.
  1333. `total_capacity_in_bytes`::
  1334. (integer)
  1335. Total capacity, in bytes, of mapped buffer pools.
  1336. ========
  1337. `direct`::
  1338. (object)
  1339. Contains statistics about direct JVM buffer pools for the node.
  1340. +
  1341. .Properties of `direct`
  1342. [%collapsible%open]
  1343. ========
  1344. `count`::
  1345. (integer)
  1346. Number of direct buffer pools.
  1347. `used`::
  1348. (<<byte-units,byte value>>)
  1349. Size of direct buffer pools.
  1350. `used_in_bytes`::
  1351. (integer)
  1352. Size, in bytes, of direct buffer pools.
  1353. `total_capacity`::
  1354. (<<byte-units,byte value>>)
  1355. Total capacity of direct buffer pools.
  1356. `total_capacity_in_bytes`::
  1357. (integer)
  1358. Total capacity, in bytes, of direct buffer pools.
  1359. ========
  1360. =======
  1361. `classes`::
  1362. (object)
  1363. Contains statistics about classes loaded by JVM for the node.
  1364. +
  1365. .Properties of `classes`
  1366. [%collapsible%open]
  1367. =======
  1368. `current_loaded_count`::
  1369. (integer)
  1370. Number of classes currently loaded by JVM.
  1371. `total_loaded_count`::
  1372. (integer)
  1373. Total number of classes loaded since the JVM started.
  1374. `total_unloaded_count`::
  1375. (integer)
  1376. Total number of classes unloaded since the JVM started.
  1377. =======
  1378. ======
  1379. [[cluster-nodes-stats-api-response-body-threadpool]]
  1380. `thread_pool`::
  1381. (object)
  1382. Contains thread pool statistics for the node
  1383. +
  1384. .Properties of `thread_pool`
  1385. [%collapsible%open]
  1386. ======
  1387. `<thread_pool_name>`::
  1388. (object)
  1389. Contains statistics about the thread pool for the node.
  1390. +
  1391. .Properties of `<thread_pool_name>`
  1392. [%collapsible%open]
  1393. =======
  1394. `threads`::
  1395. (integer)
  1396. Number of threads in the thread pool.
  1397. `queue`::
  1398. (integer)
  1399. Number of tasks in queue for the thread pool.
  1400. `active`::
  1401. (integer)
  1402. Number of active threads in the thread pool.
  1403. `rejected`::
  1404. (integer)
  1405. Number of tasks rejected by the thread pool executor.
  1406. `largest`::
  1407. (integer)
  1408. Highest number of active threads in the thread pool.
  1409. `completed`::
  1410. (integer)
  1411. Number of tasks completed by the thread pool executor.
  1412. =======
  1413. ======
  1414. [[cluster-nodes-stats-api-response-body-fs]]
  1415. `fs`::
  1416. (object)
  1417. Contains file store statistics for the node.
  1418. +
  1419. .Properties of `fs`
  1420. [%collapsible%open]
  1421. ======
  1422. `timestamp`::
  1423. (integer)
  1424. Last time the file stores statistics were refreshed. Recorded in
  1425. milliseconds since the {wikipedia}/Unix_time[Unix Epoch].
  1426. `total`::
  1427. (object)
  1428. Contains statistics for all file stores of the node.
  1429. +
  1430. .Properties of `total`
  1431. [%collapsible%open]
  1432. =======
  1433. `total`::
  1434. (<<byte-units,byte value>>)
  1435. Total size of all file stores.
  1436. `total_in_bytes`::
  1437. (integer)
  1438. Total size (in bytes) of all file stores.
  1439. `free`::
  1440. (<<byte-units,byte value>>)
  1441. Total unallocated disk space in all file stores.
  1442. `free_in_bytes`::
  1443. (integer)
  1444. Total number of unallocated bytes in all file stores.
  1445. `available`::
  1446. (<<byte-units,byte value>>)
  1447. Total disk space available to this Java virtual machine on all file
  1448. stores. Depending on OS or process level restrictions, this might appear
  1449. less than `free`. This is the actual amount of free disk
  1450. space the {es} node can utilise.
  1451. `available_in_bytes`::
  1452. (integer)
  1453. Total number of bytes available to this Java virtual machine on all file
  1454. stores. Depending on OS or process level restrictions, this might appear
  1455. less than `free_in_bytes`. This is the actual amount of free disk
  1456. space the {es} node can utilise.
  1457. =======
  1458. [[cluster-nodes-stats-fs-data]]
  1459. `data`::
  1460. (array of objects)
  1461. List of all file stores.
  1462. +
  1463. .Properties of `data`
  1464. [%collapsible%open]
  1465. =======
  1466. `path`::
  1467. (string)
  1468. Path to the file store.
  1469. `mount`::
  1470. (string)
  1471. Mount point of the file store (ex: /dev/sda2).
  1472. `type`::
  1473. (string)
  1474. Type of the file store (ex: ext4).
  1475. `total`::
  1476. (<<byte-units,byte value>>)
  1477. Total size of the file store.
  1478. `total_in_bytes`::
  1479. (integer)
  1480. Total size (in bytes) of the file store.
  1481. `free`::
  1482. (<<byte-units,byte value>>)
  1483. Total amount of unallocated disk space in the file store.
  1484. `free_in_bytes`::
  1485. (integer)
  1486. Total number of unallocated bytes in the file store.
  1487. `available`::
  1488. (<<byte-units,byte value>>)
  1489. Total amount of disk space available to this Java virtual machine on this file
  1490. store.
  1491. `available_in_bytes`::
  1492. (integer)
  1493. Total number of bytes available to this Java virtual machine on this file
  1494. store.
  1495. =======
  1496. `io_stats` (Linux only)::
  1497. (objects)
  1498. Contains I/O statistics for the node.
  1499. +
  1500. .Properties of `io_stats`
  1501. [%collapsible%open]
  1502. =======
  1503. `devices` (Linux only)::
  1504. (array)
  1505. Array of disk metrics for each device that is backing an {es} data path.
  1506. These disk metrics are probed periodically and averages between the last
  1507. probe and the current probe are computed.
  1508. +
  1509. .Properties of `devices`
  1510. [%collapsible%open]
  1511. ========
  1512. `device_name` (Linux only)::
  1513. (string)
  1514. The Linux device name.
  1515. `operations` (Linux only)::
  1516. (integer)
  1517. The total number of read and write operations for the device completed since
  1518. starting {es}.
  1519. `read_operations` (Linux only)::
  1520. (integer)
  1521. The total number of read operations for the device completed since starting
  1522. {es}.
  1523. `write_operations` (Linux only)::
  1524. (integer)
  1525. The total number of write operations for the device completed since starting
  1526. {es}.
  1527. `read_kilobytes` (Linux only)::
  1528. (integer)
  1529. The total number of kilobytes read for the device since starting {es}.
  1530. `write_kilobytes` (Linux only)::
  1531. (integer)
  1532. The total number of kilobytes written for the device since starting {es}.
  1533. `io_time_in_millis` (Linux only)::
  1534. (integer)
  1535. The total time in milliseconds spent performing I/O operations for the device
  1536. since starting {es}.
  1537. ========
  1538. `total` (Linux only)::
  1539. (object)
  1540. The sum of the disk metrics for all devices that back an {es} data path.
  1541. +
  1542. .Properties of `total`
  1543. [%collapsible%open]
  1544. ========
  1545. `operations` (Linux only)::
  1546. (integer)
  1547. The total number of read and write operations across all devices used by
  1548. {es} completed since starting {es}.
  1549. `read_operations` (Linux only)::
  1550. (integer)
  1551. The total number of read operations for across all devices used by {es}
  1552. completed since starting {es}.
  1553. `write_operations` (Linux only)::
  1554. (integer)
  1555. The total number of write operations across all devices used by {es}
  1556. completed since starting {es}.
  1557. `read_kilobytes` (Linux only)::
  1558. (integer)
  1559. The total number of kilobytes read across all devices used by {es} since
  1560. starting {es}.
  1561. `write_kilobytes` (Linux only)::
  1562. (integer)
  1563. The total number of kilobytes written across all devices used by {es} since
  1564. starting {es}.
  1565. `io_time_in_millis` (Linux only)::
  1566. (integer)
  1567. The total time in milliseconds spent performing I/O operations across all
  1568. devices used by {es} since starting {es}.
  1569. ========
  1570. =======
  1571. ======
  1572. [[cluster-nodes-stats-api-response-body-transport]]
  1573. `transport`::
  1574. (object)
  1575. Contains transport statistics for the node.
  1576. +
  1577. .Properties of `transport`
  1578. [%collapsible%open]
  1579. ======
  1580. `server_open`::
  1581. (integer)
  1582. Current number of inbound TCP connections used for internal communication between nodes.
  1583. `total_outbound_connections`::
  1584. (integer)
  1585. The cumulative number of outbound transport connections that this node has
  1586. opened since it started. Each transport connection may comprise multiple TCP
  1587. connections but is only counted once in this statistic. Transport connections
  1588. are typically <<long-lived-connections,long-lived>> so this statistic should
  1589. remain constant in a stable cluster.
  1590. `rx_count`::
  1591. (integer)
  1592. Total number of RX (receive) packets received by the node during internal
  1593. cluster communication.
  1594. `rx_size`::
  1595. (<<byte-units,byte value>>)
  1596. Size of RX packets received by the node during internal cluster communication.
  1597. `rx_size_in_bytes`::
  1598. (integer)
  1599. Size, in bytes, of RX packets received by the node during internal cluster
  1600. communication.
  1601. `tx_count`::
  1602. (integer)
  1603. Total number of TX (transmit) packets sent by the node during internal cluster
  1604. communication.
  1605. `tx_size`::
  1606. (<<byte-units,byte value>>)
  1607. Size of TX packets sent by the node during internal cluster communication.
  1608. `tx_size_in_bytes`::
  1609. (integer)
  1610. Size, in bytes, of TX packets sent by the node during internal cluster
  1611. communication.
  1612. `inbound_handling_time_histogram`::
  1613. (array)
  1614. The distribution of the time spent handling each inbound message on a transport
  1615. thread, represented as a histogram.
  1616. +
  1617. .Properties of `inbound_handling_time_histogram`
  1618. [%collapsible]
  1619. =======
  1620. `ge`::
  1621. (string)
  1622. The inclusive lower bound of the bucket as a human-readable string. May be
  1623. omitted on the first bucket if this bucket has no lower bound.
  1624. `ge_millis`::
  1625. (integer)
  1626. The inclusive lower bound of the bucket in milliseconds. May be omitted on the
  1627. first bucket if this bucket has no lower bound.
  1628. `lt`::
  1629. (string)
  1630. The exclusive upper bound of the bucket as a human-readable string. May be
  1631. omitted on the last bucket if this bucket has no upper bound.
  1632. `lt_millis`::
  1633. (integer)
  1634. The exclusive upper bound of the bucket in milliseconds. May be omitted on the
  1635. last bucket if this bucket has no upper bound.
  1636. `count`::
  1637. (integer)
  1638. The number of times a transport thread took a period of time within the bounds
  1639. of this bucket to handle an inbound message.
  1640. =======
  1641. `outbound_handling_time_histogram`::
  1642. (array)
  1643. The distribution of the time spent sending each outbound transport message on a
  1644. transport thread, represented as a histogram.
  1645. +
  1646. .Properties of `outbound_handling_time_histogram`
  1647. [%collapsible]
  1648. =======
  1649. `ge`::
  1650. (string)
  1651. The inclusive lower bound of the bucket as a human-readable string. May be
  1652. omitted on the first bucket if this bucket has no lower bound.
  1653. `ge_millis`::
  1654. (integer)
  1655. The inclusive lower bound of the bucket in milliseconds. May be omitted on the
  1656. first bucket if this bucket has no lower bound.
  1657. `lt`::
  1658. (string)
  1659. The exclusive upper bound of the bucket as a human-readable string. May be
  1660. omitted on the last bucket if this bucket has no upper bound.
  1661. `lt_millis`::
  1662. (integer)
  1663. The exclusive upper bound of the bucket in milliseconds. May be omitted on the
  1664. last bucket if this bucket has no upper bound.
  1665. `count`::
  1666. (integer)
  1667. The number of times a transport thread took a period of time within the bounds
  1668. of this bucket to send a transport message.
  1669. =======
  1670. ======
  1671. [[cluster-nodes-stats-api-response-body-http]]
  1672. `http`::
  1673. (object)
  1674. Contains http statistics for the node.
  1675. +
  1676. .Properties of `http`
  1677. [%collapsible%open]
  1678. ======
  1679. `current_open`::
  1680. (integer)
  1681. Current number of open HTTP connections for the node.
  1682. `total_opened`::
  1683. (integer)
  1684. Total number of HTTP connections opened for the node.
  1685. `clients`::
  1686. (array of objects)
  1687. Information on current and recently-closed HTTP client connections.
  1688. Clients that have been closed longer than the <<http-settings,http.client_stats.closed_channels.max_age>>
  1689. setting will not be represented here.
  1690. +
  1691. .Properties of `clients`
  1692. [%collapsible%open]
  1693. =======
  1694. `id`::
  1695. (integer)
  1696. Unique ID for the HTTP client.
  1697. `agent`::
  1698. (string)
  1699. Reported agent for the HTTP client. If unavailable, this property is not
  1700. included in the response.
  1701. `local_address`::
  1702. (string)
  1703. Local address for the HTTP client.
  1704. `remote_address`::
  1705. (string)
  1706. Remote address for the HTTP client.
  1707. `last_uri`::
  1708. (string)
  1709. The URI of the client's most recent request.
  1710. `x_forwarded_for`::
  1711. (string)
  1712. Value from the client's `x-forwarded-for` HTTP header. If unavailable, this
  1713. property is not included in the response.
  1714. `x_opaque_id`::
  1715. (string)
  1716. Value from the client's `x-opaque-id` HTTP header. If unavailable, this property
  1717. is not included in the response.
  1718. `opened_time_millis`::
  1719. (integer)
  1720. Time at which the client opened the connection.
  1721. `closed_time_millis`::
  1722. (integer)
  1723. Time at which the client closed the connection if the connection is closed.
  1724. `last_request_time_millis`::
  1725. (integer)
  1726. Time of the most recent request from this client.
  1727. `request_count`::
  1728. (integer)
  1729. Number of requests from this client.
  1730. `request_size_bytes`::
  1731. (integer)
  1732. Cumulative size in bytes of all requests from this client.
  1733. =======
  1734. ======
  1735. [[cluster-nodes-stats-api-response-body-breakers]]
  1736. `breakers`::
  1737. (object)
  1738. Contains circuit breaker statistics for the node.
  1739. +
  1740. .Properties of `breakers`
  1741. [%collapsible%open]
  1742. ======
  1743. `<circuit_breaker_name>`::
  1744. (object)
  1745. Contains statistics for the circuit breaker.
  1746. +
  1747. .Properties of `<circuit_breaker_name>`
  1748. [%collapsible%open]
  1749. =======
  1750. `limit_size_in_bytes`::
  1751. (integer)
  1752. Memory limit, in bytes, for the circuit breaker.
  1753. `limit_size`::
  1754. (<<byte-units,byte value>>)
  1755. Memory limit for the circuit breaker.
  1756. `estimated_size_in_bytes`::
  1757. (integer)
  1758. Estimated memory used, in bytes, for the operation.
  1759. `estimated_size`::
  1760. (<<byte-units,byte value>>)
  1761. Estimated memory used for the operation.
  1762. `overhead`::
  1763. (float)
  1764. A constant that all estimates for the circuit breaker are multiplied with to
  1765. calculate a final estimate.
  1766. `tripped`::
  1767. (integer)
  1768. Total number of times the circuit breaker has been triggered and prevented an
  1769. out of memory error.
  1770. =======
  1771. ======
  1772. [[cluster-nodes-stats-api-response-body-script]]
  1773. `script`::
  1774. (object)
  1775. Contains script statistics for the node.
  1776. +
  1777. .Properties of `script`
  1778. [%collapsible%open]
  1779. ======
  1780. `compilations`::
  1781. (integer)
  1782. Total number of inline script compilations performed by the node.
  1783. `compilations_history`::
  1784. (object)
  1785. Contains this recent history of script compilations
  1786. .Properties of `compilations_history`
  1787. [%collapsible%open]
  1788. =======
  1789. `5m`::
  1790. (long)
  1791. The number of script compilations in the last five minutes.
  1792. `15m`::
  1793. (long)
  1794. The number of script compilations in the last fifteen minutes.
  1795. `24h`::
  1796. (long)
  1797. The number of script compilations in the last twenty-four hours.
  1798. =======
  1799. `cache_evictions`::
  1800. (integer)
  1801. Total number of times the script cache has evicted old data.
  1802. `cache_evictions_history`::
  1803. (object)
  1804. Contains this recent history of script cache evictions
  1805. .Properties of `cache_evictions`
  1806. [%collapsible%open]
  1807. =======
  1808. `5m`::
  1809. (long)
  1810. The number of script cache evictions in the last five minutes.
  1811. `15m`::
  1812. (long)
  1813. The number of script cache evictions in the last fifteen minutes.
  1814. `24h`::
  1815. (long)
  1816. The number of script cache evictions in the last twenty-four hours.
  1817. =======
  1818. `compilation_limit_triggered`::
  1819. (integer)
  1820. Total number of times the <<script-compilation-circuit-breaker,script
  1821. compilation>> circuit breaker has limited inline script compilations.
  1822. ======
  1823. [[cluster-nodes-stats-api-response-body-discovery]]
  1824. `discovery`::
  1825. (object)
  1826. Contains node discovery statistics for the node.
  1827. +
  1828. .Properties of `discovery`
  1829. [%collapsible%open]
  1830. ======
  1831. `cluster_state_queue`::
  1832. (object)
  1833. Contains statistics for the cluster state queue of the node.
  1834. +
  1835. .Properties of `cluster_state_queue`
  1836. [%collapsible%open]
  1837. =======
  1838. `total`::
  1839. (integer)
  1840. Total number of cluster states in queue.
  1841. `pending`::
  1842. (integer)
  1843. Number of pending cluster states in queue.
  1844. `committed`::
  1845. (integer)
  1846. Number of committed cluster states in queue.
  1847. =======
  1848. `published_cluster_states`::
  1849. (object)
  1850. Contains statistics for the published cluster states of the node.
  1851. +
  1852. .Properties of `published_cluster_states`
  1853. [%collapsible%open]
  1854. =======
  1855. `full_states`::
  1856. (integer)
  1857. Number of published cluster states.
  1858. `incompatible_diffs`::
  1859. (integer)
  1860. Number of incompatible differences between published cluster states.
  1861. `compatible_diffs`::
  1862. (integer)
  1863. Number of compatible differences between published cluster states.
  1864. =======
  1865. `cluster_state_update`::
  1866. (object)
  1867. Contains low-level statistics about how long various activities took during
  1868. cluster state updates while the node was the elected master. Omitted if the
  1869. node is not master-eligible. Every field whose name ends in `_time` within this
  1870. object is also represented as a raw number of milliseconds in a field whose
  1871. name ends in `_time_millis`. The human-readable fields with a `_time` suffix
  1872. are only returned if requested with the `?human=true` query parameter.
  1873. +
  1874. .Properties of `cluster_state_update`
  1875. [%collapsible]
  1876. =======
  1877. `unchanged`::
  1878. (object)
  1879. Contains statistics about cluster state update attempts that did not change the
  1880. cluster state.
  1881. +
  1882. .Properties of `unchanged`
  1883. [%collapsible]
  1884. ========
  1885. `count`::
  1886. (long)
  1887. The number of cluster state update attempts that did not change the cluster
  1888. state since the node started.
  1889. `computation_time`::
  1890. (<<time-units,time value>>)
  1891. The cumulative amount of time spent computing no-op cluster state updates since
  1892. the node started.
  1893. `notification_time`::
  1894. (<<time-units,time value>>)
  1895. The cumulative amount of time spent notifying listeners of a no-op cluster
  1896. state update since the node started.
  1897. ========
  1898. `success`::
  1899. (object)
  1900. Contains statistics about cluster state update attempts that successfully
  1901. changed the cluster state.
  1902. +
  1903. .Properties of `success`
  1904. [%collapsible]
  1905. ========
  1906. `count`::
  1907. (long)
  1908. The number of cluster state update attempts that successfully changed the
  1909. cluster state since the node started.
  1910. `computation_time`::
  1911. (<<time-units,time value>>)
  1912. The cumulative amount of time spent computing cluster state updates that were
  1913. ultimately successful since the node started.
  1914. `publication_time`::
  1915. (<<time-units,time value>>)
  1916. The cumulative amount of time spent publishing cluster state updates which
  1917. ultimately succeeded, which includes everything from the start of the
  1918. publication (i.e. just after the computation of the new cluster state) until
  1919. the publication has finished and the master node is ready to start processing
  1920. the next state update. This includes the time measured by
  1921. `context_construction_time`, `commit_time`, `completion_time` and
  1922. `master_apply_time`.
  1923. `context_construction_time`::
  1924. (<<time-units,time value>>)
  1925. The cumulative amount of time spent constructing a _publication context_ since
  1926. the node started for publications that ultimately succeeded. This statistic
  1927. includes the time spent computing the difference between the current and new
  1928. cluster state preparing a serialized representation of this difference.
  1929. `commit_time`::
  1930. (<<time-units,time value>>)
  1931. The cumulative amount of time spent waiting for a successful cluster state
  1932. update to _commit_, which measures the time from the start of each publication
  1933. until a majority of the master-eligible nodes have written the state to disk
  1934. and confirmed the write to the elected master.
  1935. `completion_time`::
  1936. (<<time-units,time value>>)
  1937. The cumulative amount of time spent waiting for a successful cluster state
  1938. update to _complete_, which measures the time from the start of each
  1939. publication until all the other nodes have notified the elected master that
  1940. they have applied the cluster state.
  1941. `master_apply_time`::
  1942. (<<time-units,time value>>)
  1943. The cumulative amount of time spent successfully applying cluster state updates
  1944. on the elected master since the node started.
  1945. `notification_time`::
  1946. (<<time-units,time value>>)
  1947. The cumulative amount of time spent notifying listeners of a successful cluster
  1948. state update since the node started.
  1949. ========
  1950. `failure`::
  1951. (object)
  1952. Contains statistics about cluster state update attempts that did not
  1953. successfully change the cluster state, typically because a new master node was
  1954. elected before completion.
  1955. +
  1956. .Properties of `failure`
  1957. [%collapsible]
  1958. ========
  1959. `count`::
  1960. (long)
  1961. The number of cluster state update attempts that failed to change the cluster
  1962. state since the node started.
  1963. `computation_time`::
  1964. (<<time-units,time value>>)
  1965. The cumulative amount of time spent computing cluster state updates that were
  1966. ultimately unsuccessful since the node started.
  1967. `publication_time`::
  1968. (<<time-units,time value>>)
  1969. The cumulative amount of time spent publishing cluster state updates which
  1970. ultimately failed, which includes everything from the start of the
  1971. publication (i.e. just after the computation of the new cluster state) until
  1972. the publication has finished and the master node is ready to start processing
  1973. the next state update. This includes the time measured by
  1974. `context_construction_time`, `commit_time`, `completion_time` and
  1975. `master_apply_time`.
  1976. `context_construction_time`::
  1977. (<<time-units,time value>>)
  1978. The cumulative amount of time spent constructing a _publication context_ since
  1979. the node started for publications that ultimately failed. This statistic
  1980. includes the time spent computing the difference between the current and new
  1981. cluster state preparing a serialized representation of this difference.
  1982. `commit_time`::
  1983. (<<time-units,time value>>)
  1984. The cumulative amount of time spent waiting for an unsuccessful cluster state
  1985. update to _commit_, which measures the time from the start of each publication
  1986. until a majority of the master-eligible nodes have written the state to disk
  1987. and confirmed the write to the elected master.
  1988. `completion_time`::
  1989. (<<time-units,time value>>)
  1990. The cumulative amount of time spent waiting for an unsuccessful cluster state
  1991. update to _complete_, which measures the time from the start of each
  1992. publication until all the other nodes have notified the elected master that
  1993. they have applied the cluster state.
  1994. `master_apply_time`::
  1995. (<<time-units,time value>>)
  1996. The cumulative amount of time spent unsuccessfully applying cluster state
  1997. updates on the elected master since the node started.
  1998. `notification_time`::
  1999. (<<time-units,time value>>)
  2000. The cumulative amount of time spent notifying listeners of a failed cluster
  2001. state update since the node started.
  2002. ========
  2003. =======
  2004. ======
  2005. [[cluster-nodes-stats-api-response-body-ingest]]
  2006. `ingest`::
  2007. (object)
  2008. Contains ingest statistics for the node.
  2009. +
  2010. .Properties of `ingest`
  2011. [%collapsible%open]
  2012. ======
  2013. `total`::
  2014. (object)
  2015. Contains statistics about ingest operations for the node.
  2016. +
  2017. .Properties of `total`
  2018. [%collapsible%open]
  2019. =======
  2020. `count`::
  2021. (integer)
  2022. Total number of documents ingested during the lifetime of this node.
  2023. `time`::
  2024. (<<time-units,time value>>)
  2025. Total time spent preprocessing ingest documents during the lifetime of this
  2026. node.
  2027. `time_in_millis`::
  2028. (integer)
  2029. Total time, in milliseconds, spent preprocessing ingest documents during the
  2030. lifetime of this node.
  2031. `current`::
  2032. (integer)
  2033. Total number of documents currently being ingested.
  2034. `failed`::
  2035. (integer)
  2036. Total number of failed ingest operations during the lifetime of this node.
  2037. =======
  2038. `pipelines`::
  2039. (object)
  2040. Contains statistics about ingest pipelines for the node.
  2041. +
  2042. .Properties of `pipelines`
  2043. [%collapsible%open]
  2044. =======
  2045. `<pipeline_id>`::
  2046. (object)
  2047. Contains statistics about the ingest pipeline.
  2048. +
  2049. .Properties of `<pipeline_id>`
  2050. [%collapsible%open]
  2051. ========
  2052. `count`::
  2053. (integer)
  2054. Number of documents preprocessed by the ingest pipeline.
  2055. `time`::
  2056. (<<time-units,time value>>)
  2057. Total time spent preprocessing documents in the ingest pipeline.
  2058. `time_in_millis`::
  2059. (integer)
  2060. Total time, in milliseconds, spent preprocessing documents in the ingest
  2061. pipeline.
  2062. `failed`::
  2063. (integer)
  2064. Total number of failed operations for the ingest pipeline.
  2065. `processors`::
  2066. (array of objects)
  2067. Contains statistics for the ingest processors for the ingest pipeline.
  2068. +
  2069. .Properties of `processors`
  2070. [%collapsible%open]
  2071. =========
  2072. `<processor>`::
  2073. (object)
  2074. Contains statistics for the ingest processor.
  2075. +
  2076. .Properties of `<processor>`
  2077. [%collapsible%open]
  2078. ==========
  2079. `count`::
  2080. (integer)
  2081. Number of documents transformed by the processor.
  2082. `time`::
  2083. (<<time-units,time value>>)
  2084. Time spent by the processor transforming documents.
  2085. `time_in_millis`::
  2086. (integer)
  2087. Time, in milliseconds, spent by the processor transforming documents.
  2088. `current`::
  2089. (integer)
  2090. Number of documents currently being transformed by the processor.
  2091. `failed`::
  2092. (integer)
  2093. Number of failed operations for the processor.
  2094. ==========
  2095. =========
  2096. ========
  2097. =======
  2098. ======
  2099. [[cluster-nodes-stats-api-response-body-indexing-pressure]]
  2100. `indexing_pressure`::
  2101. (object)
  2102. Contains <<index-modules-indexing-pressure,indexing pressure>> statistics for the node.
  2103. +
  2104. .Properties of `indexing_pressure`
  2105. [%collapsible%open]
  2106. ======
  2107. `memory`::
  2108. (object)
  2109. Contains statistics for memory consumption from indexing load.
  2110. +
  2111. .Properties of `<memory>`
  2112. [%collapsible%open]
  2113. =======
  2114. `current`::
  2115. (object)
  2116. Contains statistics for current indexing load.
  2117. +
  2118. .Properties of `<current>`
  2119. [%collapsible%open]
  2120. ========
  2121. `combined_coordinating_and_primary`::
  2122. (<<byte-units,byte value>>)
  2123. Memory consumed by indexing requests in the coordinating or primary stage. This
  2124. value is not the sum of coordinating and primary as a node can reuse the
  2125. coordinating memory if the primary stage is executed locally.
  2126. `combined_coordinating_and_primary_in_bytes`::
  2127. (integer)
  2128. Memory consumed, in bytes, by indexing requests in the coordinating or primary
  2129. stage. This value is not the sum of coordinating and primary as a node can
  2130. reuse the coordinating memory if the primary stage is executed locally.
  2131. `coordinating`::
  2132. (<<byte-units,byte value>>)
  2133. Memory consumed by indexing requests in the coordinating stage.
  2134. `coordinating_in_bytes`::
  2135. (integer)
  2136. Memory consumed, in bytes, by indexing requests in the coordinating stage.
  2137. `primary`::
  2138. (<<byte-units,byte value>>)
  2139. Memory consumed by indexing requests in the primary stage.
  2140. `primary_in_bytes`::
  2141. (integer)
  2142. Memory consumed, in bytes, by indexing requests in the primary stage.
  2143. `replica`::
  2144. (<<byte-units,byte value>>)
  2145. Memory consumed by indexing requests in the replica stage.
  2146. `replica_in_bytes`::
  2147. (integer)
  2148. Memory consumed, in bytes, by indexing requests in the replica stage.
  2149. `all`::
  2150. (<<byte-units,byte value>>)
  2151. Memory consumed by indexing requests in the coordinating, primary, or replica stage.
  2152. `all_in_bytes`::
  2153. (integer)
  2154. Memory consumed, in bytes, by indexing requests in the coordinating, primary,
  2155. or replica stage.
  2156. ========
  2157. `total`::
  2158. (object)
  2159. Contains statistics for the cumulative indexing load since the node started.
  2160. +
  2161. .Properties of `<total>`
  2162. [%collapsible%open]
  2163. ========
  2164. `combined_coordinating_and_primary`::
  2165. (<<byte-units,byte value>>)
  2166. Memory consumed by indexing requests in the coordinating or primary stage. This
  2167. value is not the sum of coordinating and primary as a node can reuse the
  2168. coordinating memory if the primary stage is executed locally.
  2169. `combined_coordinating_and_primary_in_bytes`::
  2170. (integer)
  2171. Memory consumed, in bytes, by indexing requests in the coordinating or primary
  2172. stage. This value is not the sum of coordinating and primary as a node can
  2173. reuse the coordinating memory if the primary stage is executed locally.
  2174. `coordinating`::
  2175. (<<byte-units,byte value>>)
  2176. Memory consumed by indexing requests in the coordinating stage.
  2177. `coordinating_in_bytes`::
  2178. (integer)
  2179. Memory consumed, in bytes, by indexing requests in the coordinating stage.
  2180. `primary`::
  2181. (<<byte-units,byte value>>)
  2182. Memory consumed by indexing requests in the primary stage.
  2183. `primary_in_bytes`::
  2184. (integer)
  2185. Memory consumed, in bytes, by indexing requests in the primary stage.
  2186. `replica`::
  2187. (<<byte-units,byte value>>)
  2188. Memory consumed by indexing requests in the replica stage.
  2189. `replica_in_bytes`::
  2190. (integer)
  2191. Memory consumed, in bytes, by indexing requests in the replica stage.
  2192. `all`::
  2193. (<<byte-units,byte value>>)
  2194. Memory consumed by indexing requests in the coordinating, primary, or replica stage.
  2195. `all_in_bytes`::
  2196. (integer)
  2197. Memory consumed, in bytes, by indexing requests in the coordinating, primary,
  2198. or replica stage.
  2199. `coordinating_rejections`::
  2200. (integer)
  2201. Number of indexing requests rejected in the coordinating stage.
  2202. `primary_rejections`::
  2203. (integer)
  2204. Number of indexing requests rejected in the primary stage.
  2205. `replica_rejections`::
  2206. (integer)
  2207. Number of indexing requests rejected in the replica stage.
  2208. ========
  2209. `limit`::
  2210. (<<byte-units,byte value>>)
  2211. Configured memory limit for the indexing requests. Replica requests have an
  2212. automatic limit that is 1.5x this value.
  2213. `limit_in_bytes`::
  2214. (integer)
  2215. Configured memory limit, in bytes, for the indexing requests. Replica requests
  2216. have an automatic limit that is 1.5x this value.
  2217. =======
  2218. ======
  2219. [[cluster-nodes-stats-api-response-body-adaptive-selection]]
  2220. `adaptive_selection`::
  2221. (object)
  2222. Contains adaptive selection statistics for the node.
  2223. +
  2224. .Properties of `adaptive_selection`
  2225. [%collapsible%open]
  2226. ======
  2227. `outgoing_searches`::
  2228. (integer)
  2229. The number of outstanding search requests from the node these stats are for
  2230. to the keyed node.
  2231. `avg_queue_size`::
  2232. (integer)
  2233. The exponentially weighted moving average queue size of search requests on
  2234. the keyed node.
  2235. `avg_service_time`::
  2236. (<<time-units,time value>>)
  2237. The exponentially weighted moving average service time of search requests on
  2238. the keyed node.
  2239. `avg_service_time_ns`::
  2240. (integer)
  2241. The exponentially weighted moving average service time, in nanoseconds, of
  2242. search requests on the keyed node.
  2243. `avg_response_time`::
  2244. (<<time-units,time value>>)
  2245. The exponentially weighted moving average response time of search requests
  2246. on the keyed node.
  2247. `avg_response_time_ns`::
  2248. (integer)
  2249. The exponentially weighted moving average response time, in nanoseconds, of
  2250. search requests on the keyed node.
  2251. `rank`::
  2252. (string)
  2253. The rank of this node; used for shard selection when routing search
  2254. requests.
  2255. ======
  2256. =====
  2257. ====
  2258. [[cluster-nodes-stats-api-example]]
  2259. ==== {api-examples-title}
  2260. [source,console,id=nodes-stats-limit]
  2261. ----
  2262. # return just indices
  2263. GET /_nodes/stats/indices
  2264. # return just os and process
  2265. GET /_nodes/stats/os,process
  2266. # return just process for node with IP address 10.0.0.1
  2267. GET /_nodes/10.0.0.1/stats/process
  2268. ----
  2269. All stats can be explicitly requested via `/_nodes/stats/_all` or
  2270. `/_nodes/stats?metric=_all`.
  2271. You can get information about indices stats on `node`, `indices`, or `shards`
  2272. level.
  2273. [source,console,id=nodes-stats-indices]
  2274. ----
  2275. # Fielddata summarized by node
  2276. GET /_nodes/stats/indices/fielddata?fields=field1,field2
  2277. # Fielddata summarized by node and index
  2278. GET /_nodes/stats/indices/fielddata?level=indices&fields=field1,field2
  2279. # Fielddata summarized by node, index, and shard
  2280. GET /_nodes/stats/indices/fielddata?level=shards&fields=field1,field2
  2281. # You can use wildcards for field names
  2282. GET /_nodes/stats/indices/fielddata?fields=field*
  2283. ----
  2284. You can get statistics about search groups for searches executed
  2285. on this node.
  2286. [source,console,id=nodes-stats-groups]
  2287. ----
  2288. # All groups with all stats
  2289. GET /_nodes/stats?groups=_all
  2290. # Some groups from just the indices stats
  2291. GET /_nodes/stats/indices?groups=foo,bar
  2292. ----
  2293. [[cluster-nodes-stats-ingest-ex]]
  2294. ===== Retrieve ingest statistics only
  2295. To return only ingest-related node statistics, set the `<metric>` path
  2296. parameter to `ingest` and use the
  2297. <<common-options-response-filtering,`filter_path`>> query parameter.
  2298. [source,console,id=nodes-stats-filter-path]
  2299. ----
  2300. GET /_nodes/stats/ingest?filter_path=nodes.*.ingest
  2301. ----
  2302. You can use the `metric` and `filter_path` query parameters to get the same
  2303. response.
  2304. [source,console,id=nodes-stats-metric-filter-path]
  2305. ----
  2306. GET /_nodes/stats?metric=ingest&filter_path=nodes.*.ingest
  2307. ----
  2308. To further refine the response, change the `filter_path` value.
  2309. For example, the following request only returns ingest pipeline statistics.
  2310. [source,console,id=nodes-stats-metric-filter-path-refined]
  2311. ----
  2312. GET /_nodes/stats?metric=ingest&filter_path=nodes.*.ingest.pipelines
  2313. ----