nodes-stats.asciidoc 68 KB

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