nodes-stats.asciidoc 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605
  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-desc]]
  16. ==== {api-description-title}
  17. You can use the cluster nodes stats API to retrieve statistics for nodes in a cluster.
  18. All the nodes selective options are explained <<cluster-nodes,here>>.
  19. By default, all stats are returned. You can limit the returned information by
  20. using metrics.
  21. [[cluster-nodes-stats-api-path-params]]
  22. ==== {api-path-parms-title}
  23. `<metric>`::
  24. (Optional, string) Limits the information returned to the specific metrics.
  25. A comma-separated list of the following options:
  26. +
  27. --
  28. `adaptive_selection`::
  29. Statistics about <<search-adaptive-replica,adaptive replica selection>>.
  30. `breaker`::
  31. Statistics about the field data circuit breaker.
  32. `discovery`::
  33. Statistics about the discovery.
  34. `fs`::
  35. File system information, data path, free disk space, read/write
  36. stats.
  37. `http`::
  38. HTTP connection information.
  39. `indices`::
  40. Indices stats about size, document count, indexing and deletion times,
  41. search times, field cache size, merges and flushes.
  42. `ingest`::
  43. Statistics about ingest preprocessing.
  44. `jvm`::
  45. JVM stats, memory pool information, garbage collection, buffer
  46. pools, number of loaded/unloaded classes.
  47. `os`::
  48. Operating system stats, load average, mem, swap.
  49. `process`::
  50. Process statistics, memory consumption, cpu usage, open
  51. file descriptors.
  52. `thread_pool`::
  53. Statistics about each thread pool, including current size, queue and
  54. rejected tasks.
  55. `transport`::
  56. Transport statistics about sent and received bytes in cluster
  57. communication.
  58. --
  59. `<index_metric>`::
  60. (Optional, string) Limit the information returned for `indices` metric to
  61. the specific index metrics. It can be used only if `indices` (or `all`)
  62. metric is specified. Supported metrics are:
  63. +
  64. --
  65. * `completion`
  66. * `docs`
  67. * `fielddata`
  68. * `flush`
  69. * `get`
  70. * `indexing`
  71. * `merge`
  72. * `query_cache`
  73. * `recovery`
  74. * `refresh`
  75. * `request_cache`
  76. * `search`
  77. * `segments`
  78. * `store`
  79. * `translog`
  80. * `warmer`
  81. --
  82. include::{docdir}/rest-api/common-parms.asciidoc[tag=node-id]
  83. [[cluster-nodes-stats-api-query-params]]
  84. ==== {api-query-parms-title}
  85. include::{docdir}/rest-api/common-parms.asciidoc[tag=completion-fields]
  86. include::{docdir}/rest-api/common-parms.asciidoc[tag=fielddata-fields]
  87. include::{docdir}/rest-api/common-parms.asciidoc[tag=fields]
  88. include::{docdir}/rest-api/common-parms.asciidoc[tag=groups]
  89. include::{docdir}/rest-api/common-parms.asciidoc[tag=level]
  90. `types`::
  91. (Optional, string) A comma-separated list of document types for the
  92. `indexing` index metric.
  93. include::{docdir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
  94. include::{docdir}/rest-api/common-parms.asciidoc[tag=include-segment-file-sizes]
  95. [[cluster-nodes-stats-api-response-body]]
  96. ==== {api-response-body-title}
  97. `cluster_name`::
  98. (string)
  99. Name of the cluster. Based on the <<cluster.name>> setting.
  100. `nodes.<node_id>.timestamp`::
  101. (integer)
  102. Time the node stats were collected for this response. Recorded in milliseconds
  103. since the https://en.wikipedia.org/wiki/Unix_time[Unix Epoch].
  104. `nodes.<node_id>.name`::
  105. (string)
  106. Human-readable identifier for the node. Based on the <<node.name>> setting.
  107. `nodes.<node_id>.transport_address`::
  108. (string)
  109. Host and port for the <<modules-transport,transport layer>>, used for internal
  110. communication between nodes in a cluster.
  111. `nodes.<node_id>.host`::
  112. (string)
  113. Network host for the node, based on the <<network.host>> setting.
  114. `nodes.<node_id>.ip`::
  115. (string)
  116. IP address and port for the node.
  117. `nodes.<node_id>.roles`::
  118. (array of strings)
  119. Roles assigned to the node. See <<modules-node>>.
  120. `nodes.<node_id>.attributes`::
  121. (object)
  122. Object containing a list of attributes for the node.
  123. [NOTE]
  124. ====
  125. The remaining node statistics are grouped by section. Each statistic is keyed by `nodes.<node_id>`.
  126. ====
  127. [[cluster-nodes-stats-api-response-body-indices]]
  128. ===== `indices` section
  129. [%collapsible]
  130. ====
  131. `indices.docs.count`::
  132. (integer)
  133. include::{docdir}/rest-api/common-parms.asciidoc[tag=docs-count]
  134. `indices.docs.deleted`::
  135. (integer)
  136. include::{docdir}/rest-api/common-parms.asciidoc[tag=docs-deleted]
  137. `indices.store.size`::
  138. (<<byte-units,byte value>>)
  139. Total size of all shards assigned to the node.
  140. `indices.store.size_in_bytes`::
  141. (integer)
  142. Total size, in bytes, of all shards assigned to the node.
  143. `indices.indexing.index_total`::
  144. (integer)
  145. Total number of indexing operations.
  146. `indices.indexing.index_time`::
  147. (<<time-units,time value>>)
  148. Total time spent performing indexing operations.
  149. `indices.indexing.index_time_in_millis`::
  150. (integer)
  151. Total time in milliseconds
  152. spent performing indexing operations.
  153. `indices.indexing.index_current`::
  154. (integer)
  155. Number of indexing operations currently running.
  156. `indices.indexing.index_failed`::
  157. (integer)
  158. Number of failed indexing operations.
  159. `indices.indexing.delete_total`::
  160. (integer)
  161. Total number of deletion operations.
  162. `indices.indexing.delete_time`::
  163. (<<time-units,time value>>)
  164. Time spent performing deletion operations.
  165. `indices.indexing.delete_time_in_millis`::
  166. (integer)
  167. Time in milliseconds
  168. spent performing deletion operations.
  169. `indices.indexing.delete_current`::
  170. (integer)
  171. Number of deletion operations currently running.
  172. `indices.indexing.noop_update_total`::
  173. (integer)
  174. Total number of noop operations.
  175. `indices.indexing.is_throttled`::
  176. (boolean)
  177. Number of times
  178. operations were throttled.
  179. `indices.indexing.throttle_time`::
  180. (<<time-units,time value>>)
  181. Total time spent throttling operations.
  182. `indices.indexing.throttle_time_in_millis`::
  183. (integer)
  184. Total time in milliseconds
  185. spent throttling operations.
  186. `indices.get.total`::
  187. (integer)
  188. Total number of get operations.
  189. `indices.get.getTime`::
  190. (<<time-units,time value>>)
  191. Time spent performing get operations.
  192. `indices.get.time_in_millis`::
  193. (integer)
  194. Time in milliseconds
  195. spent performing get operations.
  196. `indices.get.exists_total`::
  197. (integer)
  198. Total number of successful get operations.
  199. `indices.get.exists_time`::
  200. (<<time-units,time value>>)
  201. Time spent performing successful get operations.
  202. `indices.get.exists_time_in_millis`::
  203. (integer)
  204. Time in milliseconds
  205. spent performing successful get operations.
  206. `indices.get.missing_total`::
  207. (integer)
  208. Total number of failed get operations.
  209. `indices.get.missing_time`::
  210. (<<time-units,time value>>)
  211. Time spent performing failed get operations.
  212. `indices.get.missing_time_in_millis`::
  213. (integer)
  214. Time in milliseconds
  215. spent performing failed get operations.
  216. `indices.get.current`::
  217. (integer)
  218. Number of get operations currently running.
  219. `indices.search.open_context`::
  220. (integer)
  221. Number of open search contexts.
  222. `indices.search.query_total`::
  223. (integer)
  224. Total number of query operations.
  225. `indices.search.query_time`::
  226. (<<time-units,time value>>)
  227. Time spent performing query operations.
  228. `indices.search.query_time_in_millis`::
  229. (integer)
  230. Time in milliseconds
  231. spent performing query operations.
  232. `indices.search.query_current`::
  233. (integer)
  234. Number of query operations currently running.
  235. `indices.search.fetch_total`::
  236. (integer)
  237. Total number of fetch operations.
  238. `indices.search.fetch_time`::
  239. (<<time-units,time value>>)
  240. Time spent performing fetch operations.
  241. `indices.search.fetch_time_in_millis`::
  242. (integer)
  243. Time in milliseconds
  244. spent performing fetch operations.
  245. `indices.search.fetch_current`::
  246. (integer)
  247. Number of fetch operations currently running.
  248. `indices.search.scroll_total`::
  249. (integer)
  250. Total number of scroll operations.
  251. `indices.search.scroll_time`::
  252. (<<time-units,time value>>)
  253. Time spent performing scroll operations.
  254. `indices.search.scroll_time_in_millis`::
  255. (integer)
  256. Time in milliseconds
  257. spent performing scroll operations.
  258. `indices.search.scroll_current`::
  259. (integer)
  260. Number of scroll operations currently running.
  261. `indices.search.suggest_total`::
  262. (integer)
  263. Total number of suggest operations.
  264. `indices.search.suggest_time`::
  265. (<<time-units,time value>>)
  266. Time spent performing suggest operations.
  267. `indices.search.suggest_time_in_millis`::
  268. (integer)
  269. Time in milliseconds
  270. spent performing suggest operations.
  271. `indices.search.suggest_current`::
  272. (integer)
  273. Number of suggest operations currently running.
  274. `indices.merges.current`::
  275. (integer)
  276. Number of merge operations currently running.
  277. `indices.merges.current_docs`::
  278. (integer)
  279. Number of document merges currently running.
  280. `indices.merges.current_size`::
  281. (<<byte-units,byte value>>)
  282. Memory used performing current document merges.
  283. `indices.merges.current_size_in_bytes`::
  284. (integer)
  285. Memory, in bytes, used performing current document merges.
  286. `indices.merges.total`::
  287. (integer)
  288. Total number of merge operations.
  289. `indices.merges.total_time`::
  290. (<<time-units,time value>>)
  291. Total time spent performing merge operations.
  292. `indices.merges.total_time_in_millis`::
  293. (integer)
  294. Total time in milliseconds
  295. spent performing merge operations.
  296. `indices.merges.total_docs`::
  297. (integer)
  298. Total number of merged documents.
  299. `indices.merges.total_size`::
  300. (<<byte-units,byte value>>)
  301. Total size of document merges.
  302. `indices.merges.total_size_in_bytes`::
  303. (integer)
  304. Total size of document merges in bytes.
  305. `indices.merges.total_stopped_time`::
  306. (<<time-units,time value>>)
  307. Total time spent stopping merge operations.
  308. `indices.merges.total_stopped_time_in_millis`::
  309. (integer)
  310. Total time in milliseconds
  311. spent stopping merge operations.
  312. `indices.merges.total_throttled_time`::
  313. (<<time-units,time value>>)
  314. Total time spent throttling merge operations.
  315. `indices.merges.total_throttled_time_in_millis`::
  316. (integer)
  317. Total time in milliseconds
  318. spent throttling merge operations.
  319. `indices.merges.total_auto_throttle`::
  320. (<<byte-units,byte value>>)
  321. Size of automatically throttled merge operations.
  322. `indices.merges.total_auto_throttle_in_bytes`::
  323. (integer)
  324. Size, in bytes, of automatically throttled merge operations.
  325. `indices.refresh.total`::
  326. (integer)
  327. Total number of refresh operations.
  328. `indices.refresh.total_time`::
  329. (<<time-units,time value>>)
  330. Total time spent performing refresh operations.
  331. `indices.refresh.total_time_in_millis`::
  332. (integer)
  333. Total time in milliseconds
  334. spent performing refresh operations.
  335. `indices.refresh.external_total`::
  336. (integer)
  337. Total number of external refresh operations.
  338. `indices.refresh.external_total_time`::
  339. (<<time-units,time value>>)
  340. Total time spent performing external operations.
  341. `indices.refresh.external_total_time_in_millis`::
  342. (integer)
  343. Total time in milliseconds
  344. spent performing external operations.
  345. `indices.refresh.listeners`::
  346. (integer)
  347. Number of refresh listeners.
  348. `indices.flush.total`::
  349. (integer)
  350. Number of flush operations.
  351. `indices.flush.periodic`::
  352. (integer)
  353. Number of flush periodic operations.
  354. `indices.flush.total_time`::
  355. (<<time-units,time value>>)
  356. Total time spent performing flush operations.
  357. `indices.flush.total_time_in_millis`::
  358. (integer)
  359. Total time in milliseconds
  360. spent performing flush operations.
  361. `indices.warmer.current`::
  362. (integer)
  363. Number of active index warmers.
  364. `indices.warmer.total`::
  365. (integer)
  366. Total number of index warmers.
  367. `indices.warmer.total_time`::
  368. (<<time-units,time value>>)
  369. Total time spent performing index warming operations.
  370. `indices.warmer.total_time_in_millis`::
  371. (integer)
  372. Total time in milliseconds
  373. spent performing index warming operations.
  374. `indices.query_cache.memory_size`::
  375. (<<byte-units,byte value>>)
  376. Total amount of memory used for the query cache across all shards assigned to
  377. the node.
  378. `indices.query_cache.memory_size_in_bytes`::
  379. (integer)
  380. Total amount of memory, in bytes, used for the query cache across all shards
  381. assigned to the node.
  382. `indices.query_cache.total_count`::
  383. (integer)
  384. Total count of hits, misses, and cached queries
  385. in the query cache.
  386. `indices.query_cache.hit_count`::
  387. (integer)
  388. Number of query cache hits.
  389. `indices.query_cache.miss_count`::
  390. (integer)
  391. Number of query cache misses.
  392. `indices.query_cache.cache_size`::
  393. (integer)
  394. Size, in bytes, of the query cache.
  395. `indices.query_cache.cache_count`::
  396. (integer)
  397. Count of queries
  398. in the query cache.
  399. `indices.query_cache.evictions`::
  400. (integer)
  401. Number of query cache evictions.
  402. `indices.fielddata.memory_size`::
  403. (<<byte-units,byte value>>)
  404. Total amount of memory used for the field data cache across all shards
  405. assigned to the node.
  406. `indices.fielddata.memory_size_in_bytes`::
  407. (integer)
  408. Total amount of memory, in bytes, used for the field data cache across all
  409. shards assigned to the node.
  410. `indices.fielddata.evictions`::
  411. (integer)
  412. Number of fielddata evictions.
  413. `indices.completion.size`::
  414. (<<byte-units,byte value>>)
  415. Total amount of memory used for completion across all shards assigned to
  416. the node.
  417. `indices.completion.size_in_bytes`::
  418. (integer)
  419. Total amount of memory, in bytes, used for completion across all shards assigned
  420. to the node.
  421. `indices.segments.count`::
  422. (integer)
  423. Number of segments.
  424. `indices.segments.memory`::
  425. (<<byte-units,byte value>>)
  426. Total amount of memory used for segments across all shards assigned to the
  427. node.
  428. `indices.segments.memory_in_bytes`::
  429. (integer)
  430. Total amount of memory, in bytes, used for segments across all shards assigned
  431. to the node.
  432. `indices.segments.terms_memory`::
  433. (<<byte-units,byte value>>)
  434. Total amount of memory used for terms across all shards assigned to the node.
  435. `indices.segments.terms_memory_in_bytes`::
  436. (integer)
  437. Total amount of memory, in bytes, used for terms across all shards assigned to
  438. the node.
  439. `indices.segments.stored_fields_memory`::
  440. (<<byte-units,byte value>>)
  441. Total amount of memory used for stored fields across all shards assigned to
  442. the node.
  443. `indices.segments.stored_fields_memory_in_bytes`::
  444. (integer)
  445. Total amount of memory, in bytes, used for stored fields across all shards
  446. assigned to the node.
  447. `indices.segments.term_vectors_memory`::
  448. (<<byte-units,byte value>>)
  449. Total amount of memory used for term vectors across all shards assigned to
  450. the node.
  451. `indices.segments.term_vectors_memory_in_bytes`::
  452. (integer)
  453. Total amount of memory, in bytes, used for term vectors across all shards
  454. assigned to the node.
  455. `indices.segments.norms_memory`::
  456. (<<byte-units,byte value>>)
  457. Total amount of memory used for normalization factors across all shards assigned
  458. to the node.
  459. `indices.segments.norms_memory_in_bytes`::
  460. (integer)
  461. Total amount of memory, in bytes, used for normalization factors across all
  462. shards assigned to the node.
  463. `indices.segments.points_memory`::
  464. (<<byte-units,byte value>>)
  465. Total amount of memory used for points across all shards assigned to the node.
  466. `indices.segments.points_memory_in_bytes`::
  467. (integer)
  468. Total amount of memory, in bytes, used for points across all shards assigned to
  469. the node.
  470. `indices.segments.doc_values_memory`::
  471. (<<byte-units,byte value>>)
  472. Total amount of memory used for doc values across all shards assigned to
  473. the node.
  474. `indices.segments.doc_values_memory_in_bytes`::
  475. (integer)
  476. Total amount of memory, in bytes, used for doc values across all shards assigned
  477. to the node.
  478. `indices.segments.index_writer_memory`::
  479. (<<byte-units,byte value>>)
  480. Total amount of memory used by all index writers across all shards assigned to
  481. the node.
  482. `indices.segments.index_writer_memory_in_bytes`::
  483. (integer)
  484. Total amount of memory, in bytes, used by all index writers across all shards
  485. assigned to the node.
  486. `indices.segments.version_map_memory`::
  487. (<<byte-units,byte value>>)
  488. Total amount of memory used by all version maps across all shards assigned to
  489. the node.
  490. `indices.segments.version_map_memory_in_bytes`::
  491. (integer)
  492. Total amount of memory, in bytes, used by all version maps across all shards
  493. assigned to the node.
  494. `indices.segments.fixed_bit_set`::
  495. (<<byte-units,byte value>>)
  496. Total amount of memory used by fixed bit sets across all shards assigned to
  497. the node.
  498. +
  499. Fixed bit sets are used for nested object field types and
  500. type filters for <<parent-join,join>> fields.
  501. `indices.segments.fixed_bit_set_memory_in_bytes`::
  502. (integer)
  503. Total amount of memory, in bytes, used by fixed bit sets across all shards
  504. assigned to the node.
  505. +
  506. Fixed bit sets are used for nested object field types and
  507. type filters for <<parent-join,join>> fields.
  508. `indices.segments.max_unsafe_auto_id_timestamp`::
  509. (integer)
  510. Time of the most recently retried indexing request. Recorded in milliseconds
  511. since the https://en.wikipedia.org/wiki/Unix_time[Unix Epoch].
  512. `indices.segments.file_sizes.size`::
  513. (<<byte-units,byte value>>)
  514. Size of the segment file.
  515. `indices.segments.file_sizes.size_in_bytes`::
  516. (integer)
  517. Size, in bytes,
  518. of the segment file.
  519. `indices.segments.file_sizes.description`::
  520. (string)
  521. Description of the segment file.
  522. `indices.translog.operations`::
  523. (integer)
  524. Number of transaction log operations.
  525. `indices.translog.size`::
  526. (<<byte-units,byte value>>)
  527. Size of the transaction log.
  528. `indices.translog.size_in_bytes`::
  529. (integer)
  530. Size, in bytes, of the transaction log.
  531. `indices.translog.uncommitted_operations`::
  532. (integer)
  533. Number of uncommitted transaction log operations.
  534. `indices.translog.uncommitted_size`::
  535. (<<byte-units,byte value>>)
  536. Size of uncommitted transaction log operations.
  537. `indices.translog.uncommitted_size_in_bytes`::
  538. (integer)
  539. Size, in bytes, of uncommitted transaction log operations.
  540. `indices.translog.earliest_last_modified_age`::
  541. (integer)
  542. Earliest last modified age
  543. for the transaction log.
  544. `indices.request_cache.memory_size`::
  545. (<<byte-units,byte value>>)
  546. Memory used by the request cache.
  547. `indices.request_cache.memory_size_in_bytes`::
  548. (integer)
  549. Memory, in bytes, used by the request cache.
  550. `indices.request_cache.evictions`::
  551. (integer)
  552. Number of request cache operations.
  553. `indices.request_cache.hit_count`::
  554. (integer)
  555. Number of request cache hits.
  556. `indices.request_cache.miss_count`::
  557. (integer)
  558. Number of request cache misses.
  559. `indices.recovery.current_as_source`::
  560. (integer)
  561. Number of recoveries
  562. that used an index shard as a source.
  563. `indices.recovery.current_as_target`::
  564. (integer)
  565. Number of recoveries
  566. that used an index shard as a target.
  567. `indices.recovery.throttle_time`::
  568. (<<time-units,time value>>)
  569. Time by which recovery operations were delayed due to throttling.
  570. `indices.recovery.throttle_time_in_millis`::
  571. (integer)
  572. Time in milliseconds
  573. recovery operations were delayed due to throttling.
  574. ====
  575. [[cluster-nodes-stats-api-response-body-os]]
  576. ===== `os` section
  577. [%collapsible]
  578. ====
  579. `os.timestamp`::
  580. (integer)
  581. Last time the operating system statistics were refreshed. Recorded in
  582. milliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix Epoch].
  583. `os.cpu.percent`::
  584. (integer)
  585. Recent CPU usage for the whole system, or `-1` if not supported.
  586. `os.cpu.load_average.1m`::
  587. (float)
  588. One-minute load average on the system (field is not present if one-minute
  589. load average is not available).
  590. `os.cpu.load_average.5m`::
  591. (float)
  592. Five-minute load average on the system (field is not present if five-minute
  593. load average is not available).
  594. `os.cpu.load_average.15m`::
  595. (float)
  596. Fifteen-minute load average on the system (field is not present if
  597. fifteen-minute load average is not available).
  598. `os.mem.total`::
  599. (<<byte-units,byte value>>)
  600. Total amount of physical memory.
  601. `os.mem.total_in_bytes`::
  602. (integer)
  603. Total amount of physical memory in bytes.
  604. `os.mem.free`::
  605. (<<byte-units,byte value>>)
  606. Amount of free physical memory.
  607. `os.mem.free_in_bytes`::
  608. (integer)
  609. Amount of free physical memory in bytes.
  610. `os.mem.used`::
  611. (<<byte-units,byte value>>)
  612. Amount of used physical memory.
  613. `os.mem.used_in_bytes`::
  614. (integer)
  615. Amount of used physical memory in bytes.
  616. `os.mem.free_percent`::
  617. (integer)
  618. Percentage of free memory.
  619. `os.mem.used_percent`::
  620. (integer)
  621. Percentage of used memory.
  622. `os.swap.total`::
  623. (<<byte-units,byte value>>)
  624. Total amount of swap space.
  625. `os.swap.total_in_bytes`::
  626. (integer)
  627. Total amount of swap space in bytes.
  628. `os.swap.free`::
  629. (<<byte-units,byte value>>)
  630. Amount of free swap space.
  631. `os.swap.free_in_bytes`::
  632. (integer)
  633. Amount of free swap space in bytes.
  634. `os.swap.used`::
  635. (<<byte-units,byte value>>)
  636. Amount of used swap space.
  637. `os.swap.used_in_bytes`::
  638. (integer)
  639. Amount of used swap space in bytes.
  640. `os.cgroup.cpuacct.control_group` (Linux only)::
  641. (string)
  642. The `cpuacct` control group to which the {es} process belongs.
  643. `os.cgroup.cpuacct.usage_nanos` (Linux only)::
  644. (integer)
  645. The total CPU time (in nanoseconds) consumed by all tasks in the same cgroup
  646. as the {es} process.
  647. `os.cgroup.cpu.control_group` (Linux only)::
  648. (string)
  649. The `cpu` control group to which the {es} process belongs.
  650. `os.cgroup.cpu.cfs_period_micros` (Linux only)::
  651. (integer)
  652. The period of time (in microseconds) for how regularly all tasks in the same
  653. cgroup as the {es} process should have their access to CPU resources
  654. reallocated.
  655. `os.cgroup.cpu.cfs_quota_micros` (Linux only)::
  656. (integer)
  657. The total amount of time (in microseconds) for which all tasks in
  658. the same cgroup as the {es} process can run during one period
  659. `os.cgroup.cpu.cfs_period_micros`.
  660. `os.cgroup.cpu.stat.number_of_elapsed_periods` (Linux only)::
  661. (integer)
  662. The number of reporting periods (as specified by
  663. `os.cgroup.cpu.cfs_period_micros`) that have elapsed.
  664. `os.cgroup.cpu.stat.number_of_times_throttled` (Linux only)::
  665. (integer)
  666. The number of times all tasks in the same cgroup as the {es} process have
  667. been throttled.
  668. `os.cgroup.cpu.stat.time_throttled_nanos` (Linux only)::
  669. (integer)
  670. The total amount of time (in nanoseconds) for which all tasks in the same
  671. cgroup as the {es} process have been throttled.
  672. `os.cgroup.memory.control_group` (Linux only)::
  673. (string)
  674. The `memory` control group to which the {es} process belongs.
  675. `os.cgroup.memory.limit_in_bytes` (Linux only)::
  676. (string)
  677. The maximum amount of user memory (including file cache) allowed for all
  678. tasks in the same cgroup as the {es} process. This value can be too big to
  679. store in a `long`, so is returned as a string so that the value returned can
  680. exactly match what the underlying operating system interface returns. Any
  681. value that is too large to parse into a `long` almost certainly means no
  682. limit has been set for the cgroup.
  683. `os.cgroup.memory.usage_in_bytes` (Linux only)::
  684. (string)
  685. The total current memory usage by processes in the cgroup (in bytes) by all
  686. tasks in the same cgroup as the {es} process. This value is stored as a
  687. string for consistency with `os.cgroup.memory.limit_in_bytes`.
  688. NOTE: For the cgroup stats to be visible, cgroups must be compiled into the
  689. kernel, the `cpu` and `cpuacct` cgroup subsystems must be configured and stats
  690. must be readable from `/sys/fs/cgroup/cpu` and `/sys/fs/cgroup/cpuacct`.
  691. ====
  692. [[cluster-nodes-stats-api-response-body-process]]
  693. ===== `process` section
  694. [%collapsible]
  695. ====
  696. `process.timestamp`::
  697. (integer)
  698. Last time the process statistics were refreshed. Recorded in milliseconds
  699. since the https://en.wikipedia.org/wiki/Unix_time[Unix Epoch].
  700. `process.open_file_descriptors`::
  701. (integer)
  702. Number of opened file descriptors associated with the current process, or
  703. `-1` if not supported.
  704. `process.max_file_descriptors`::
  705. (integer)
  706. Maximum number of file descriptors allowed on the system, or `-1` if not
  707. supported.
  708. `process.cpu.percent`::
  709. (integer)
  710. CPU usage in percent, or `-1` if not known at the time the stats are
  711. computed.
  712. `process.cpu.total`::
  713. (<<time-units,time value>>)
  714. CPU time used by the process on which the Java virtual machine is running.
  715. `process.cpu.total_in_millis`::
  716. (integer)
  717. CPU time (in milliseconds) used by the process on which the Java virtual
  718. machine is running, or `-1` if not supported.
  719. `process.mem.total_virtual`::
  720. (<<byte-units,byte value>>)
  721. Size of virtual memory that is guaranteed to be available to the
  722. running process.
  723. `process.mem.total_virtual_in_bytes`::
  724. (integer)
  725. Size in bytes of virtual memory that is guaranteed to be available to the
  726. running process.
  727. ====
  728. [[cluster-nodes-stats-api-response-body-jvm]]
  729. ===== `jvm` section
  730. [%collapsible]
  731. ====
  732. `jvm.timestamp`::
  733. (integer)
  734. Last time JVM statistics were refreshed.
  735. `jvm.uptime_in_millis`::
  736. (integer)
  737. JVM uptime in milliseconds.
  738. `jvm.mem.heap_used_in_bytes`::
  739. (integer)
  740. Memory, in bytes, currently in use by the heap.
  741. `jvm.mem.heap_used_percent`::
  742. (integer)
  743. Percentage of memory currently in use by the heap.
  744. `jvm.mem.heap_committed_in_bytes`::
  745. (integer)
  746. Amount of memory, in bytes, available for use by the heap.
  747. `jvm.mem.heap_max_in_bytes`::
  748. (integer)
  749. Maximum amount of memory, in bytes, available for use by the heap.
  750. `jvm.mem.non_heap_used_in_bytes`::
  751. (integer)
  752. Non-heap memory used, in bytes.
  753. `jvm.mem.non_heap_committed_in_bytes`::
  754. (integer)
  755. Amount of non-heap memory available, in bytes.
  756. `jvm.mem.pools.young.used_in_bytes`::
  757. (integer)
  758. Memory, in bytes, used by the young generation heap.
  759. `jvm.mem.pools.young.max_in_bytes`::
  760. (integer)
  761. Maximum amount of memory, in bytes, available for use by the young generation
  762. heap.
  763. `jvm.mem.pools.young.peak_used_in_bytes`::
  764. (integer)
  765. Largest amount of memory, in bytes, historically used by the young generation
  766. heap.
  767. `jvm.mem.pools.young.peak_max_in_bytes`::
  768. (integer)
  769. Largest amount of memory, in bytes, historically used by the young generation
  770. heap.
  771. `jvm.mem.pools.survivor.used_in_bytes`::
  772. (integer)
  773. Memory, in bytes, used by the survivor space.
  774. `jvm.mem.pools.survivor.max_in_bytes`::
  775. (integer)
  776. Maximum amount of memory, in bytes, available for use by the survivor space.
  777. `jvm.mem.pools.survivor.peak_used_in_bytes`::
  778. (integer)
  779. Largest amount of memory, in bytes, historically used by the survivor space.
  780. `jvm.mem.pools.survivor.peak_max_in_bytes`::
  781. (integer)
  782. Largest amount of memory, in bytes, historically used by the survivor space.
  783. `jvm.mem.pools.old.used_in_bytes`::
  784. (integer)
  785. Memory, in bytes, used by the old generation heap.
  786. `jvm.mem.pools.old.max_in_bytes`::
  787. (integer)
  788. Maximum amount of memory, in bytes, available for use by the old generation
  789. heap.
  790. `jvm.mem.pools.old.peak_used_in_bytes`::
  791. (integer)
  792. Largest amount of memory, in bytes, historically used by the old generation
  793. heap.
  794. `jvm.mem.pools.old.peak_max_in_bytes`::
  795. (integer)
  796. Highest memory limit, in bytes, historically available for use by the old
  797. generation heap.
  798. `jvm.threads.count`::
  799. (integer)
  800. Number of active threads in use by JVM.
  801. `jvm.threads.peak_count`::
  802. (integer)
  803. Highest number of threads used by JVM.
  804. `jvm.gc.collectors.young.collection_count`::
  805. (integer)
  806. Number of JVM garbage collectors that collect young generation objects.
  807. `jvm.gc.collectors.young.collection_time_in_millis`::
  808. (integer)
  809. Total time in milliseconds spent by JVM collecting young generation objects.
  810. `jvm.gc.collectors.old.collection_count`::
  811. (integer)
  812. Number of JVM garbage collectors that collect old generation objects.
  813. `jvm.gc.collectors.old.collection_time_in_millis`::
  814. (integer)
  815. Total time in milliseconds spent by JVM collecting old generation objects.
  816. `jvm.buffer_pools.mapped.count`::
  817. (integer)
  818. Number of mapped buffer pools.
  819. `jvm.buffer_pools.mapped.used_in_bytes`::
  820. (integer)
  821. Size, in bytes, of mapped buffer pools.
  822. `jvm.buffer_pools.mapped.total_capacity_in_bytes`::
  823. (integer)
  824. Total capacity, in bytes, of mapped buffer pools.
  825. `jvm.buffer_pools.direct.count`::
  826. (integer)
  827. Number of direct buffer pools.
  828. `jvm.buffer_pools.direct.used_in_bytes`::
  829. (integer)
  830. Size, in bytes, of direct buffer pools.
  831. `jvm.buffer_pools.direct.total_capacity_in_bytes`::
  832. (integer)
  833. Total capacity, in bytes, of direct buffer pools.
  834. `jvm.classes.current_loaded_count`::
  835. (integer)
  836. Number of buffer pool classes currently loaded by JVM.
  837. `jvm.classes.total_loaded_count`::
  838. (integer)
  839. Total number of buffer pool classes loaded since the JVM started.
  840. `jvm.classes.total_unloaded_count`::
  841. (integer)
  842. Total number of buffer pool classes unloaded since the JVM started.
  843. ====
  844. [[cluster-nodes-stats-api-response-body-threadpool]]
  845. ===== `thread_pool` section
  846. [%collapsible]
  847. ====
  848. `thread_pool.<thread_pool_name>.threads`::
  849. (integer)
  850. Number of threads in the thread pool.
  851. `thread_pool.<thread_pool_name>.queue`::
  852. (integer)
  853. Number of tasks in queue for the thread pool.
  854. `thread_pool.<thread_pool_name>.active`::
  855. (integer)
  856. Number of active threads in the thread pool.
  857. `thread_pool.<thread_pool_name>.rejected`::
  858. (integer)
  859. Number of tasks rejected by the thread pool executor.
  860. `thread_pool.<thread_pool_name>.largest`::
  861. (integer)
  862. Highest number of active threads in the thread pool.
  863. `thread_pool.<thread_pool_name>.completed`::
  864. (integer)
  865. Number of tasks completed by the thread pool executor.
  866. ====
  867. [[cluster-nodes-stats-api-response-body-fs]]
  868. ===== `fs` section
  869. [%collapsible]
  870. ====
  871. `fs.timestamp`::
  872. (integer)
  873. Last time the file stores statistics were refreshed. Recorded in
  874. milliseconds since the https://en.wikipedia.org/wiki/Unix_time[Unix Epoch].
  875. `fs.total.total`::
  876. (<<byte-units,byte value>>)
  877. Total size of all file stores.
  878. `fs.total.total_in_bytes`::
  879. (integer)
  880. Total size (in bytes) of all file stores.
  881. `fs.total.free`::
  882. (<<byte-units,byte value>>)
  883. Total unallocated disk space in all file stores.
  884. `fs.total.free_in_bytes`::
  885. (integer)
  886. Total number of unallocated bytes in all file stores.
  887. `fs.total.available`::
  888. (<<byte-units,byte value>>)
  889. Total disk space available to this Java virtual machine on all file
  890. stores. Depending on OS or process level restrictions, this might appear
  891. less than `fs.total.free`. This is the actual amount of free disk
  892. space the {es} node can utilise.
  893. `fs.total.available_in_bytes`::
  894. (integer)
  895. Total number of bytes available to this Java virtual machine on all file
  896. stores. Depending on OS or process level restrictions, this might appear
  897. less than `fs.total.free_in_bytes`. This is the actual amount of free disk
  898. space the {es} node can utilise.
  899. `fs.least_usage_estimate`::
  900. (object)
  901. Object containing statistics for the file store with the least estimated
  902. usage. See <<cluster-nodes-stats-fs-data,`fs.data`>> for a list of child
  903. parameters.
  904. `fs.most_usage_estimate`::
  905. (object)
  906. Object containing statistics for the file store with the most estimated
  907. usage. See <<cluster-nodes-stats-fs-data,`fs.data`>> for a list of child
  908. parameters.
  909. [[cluster-nodes-stats-fs-data]]
  910. `fs.data`::
  911. (array of objects)
  912. List of all file stores.
  913. `fs.data.path`::
  914. (string)
  915. Path to the file store.
  916. `fs.data.mount`::
  917. (string)
  918. Mount point of the file store (ex: /dev/sda2).
  919. +
  920. NOTE: This parameter is not provided for the `least_usage_estimate` or
  921. `most_usage_estimate` file stores.
  922. `fs.data.type`::
  923. (string)
  924. Type of the file store (ex: ext4).
  925. `fs.data.total`::
  926. (<<byte-units,byte value>>)
  927. Total size of the file store.
  928. `fs.data.total_in_bytes`::
  929. (integer)
  930. Total size (in bytes) of the file store.
  931. `fs.data.free`::
  932. (<<byte-units,byte value>>)
  933. Total amount of unallocated disk space in the file store.
  934. `fs.data.free_in_bytes`::
  935. (integer)
  936. Total number of unallocated bytes in the file store.
  937. `fs.data.available`::
  938. (<<byte-units,byte value>>)
  939. Total amount of disk space available to this Java virtual machine on this file
  940. store.
  941. `fs.data.available_in_bytes`::
  942. (integer)
  943. Total number of bytes available to this Java virtual machine on this file
  944. store.
  945. `fs.io_stats.devices` (Linux only)::
  946. (array)
  947. Array of disk metrics for each device that is backing an {es} data path.
  948. These disk metrics are probed periodically and averages between the last
  949. probe and the current probe are computed.
  950. `fs.io_stats.devices.device_name` (Linux only)::
  951. (string)
  952. The Linux device name.
  953. `fs.io_stats.devices.operations` (Linux only)::
  954. (integer)
  955. The total number of read and write operations for the device completed since
  956. starting {es}.
  957. `fs.io_stats.devices.read_operations` (Linux only)::
  958. (integer)
  959. The total number of read operations for the device completed since starting
  960. {es}.
  961. `fs.io_stats.devices.write_operations` (Linux only)::
  962. (integer)
  963. The total number of write operations for the device completed since starting
  964. {es}.
  965. `fs.io_stats.devices.read_kilobytes` (Linux only)::
  966. (integer)
  967. The total number of kilobytes read for the device since starting {es}.
  968. `fs.io_stats.devices.write_kilobytes` (Linux only)::
  969. (integer)
  970. The total number of kilobytes written for the device since starting {es}.
  971. `fs.io_stats.operations` (Linux only)::
  972. (integer)
  973. The total number of read and write operations across all devices used by
  974. {es} completed since starting {es}.
  975. `fs.io_stats.read_operations` (Linux only)::
  976. (integer)
  977. The total number of read operations for across all devices used by {es}
  978. completed since starting {es}.
  979. `fs.io_stats.write_operations` (Linux only)::
  980. (integer)
  981. The total number of write operations across all devices used by {es}
  982. completed since starting {es}.
  983. `fs.io_stats.read_kilobytes` (Linux only)::
  984. (integer)
  985. The total number of kilobytes read across all devices used by {es} since
  986. starting {es}.
  987. `fs.io_stats.write_kilobytes` (Linux only)::
  988. (integer)
  989. The total number of kilobytes written across all devices used by {es} since
  990. starting {es}.
  991. ====
  992. [[cluster-nodes-stats-api-response-body-transport]]
  993. ===== `transport` section
  994. [%collapsible]
  995. ====
  996. `transport.server_open`::
  997. (integer)
  998. Number of open TCP connections used for internal communication between nodes.
  999. `transport.rx_count`::
  1000. (integer)
  1001. Total number of RX (receive) packets received by the node during internal
  1002. cluster communication.
  1003. `transport.rx_size`::
  1004. (<<byte-units,byte value>>)
  1005. Size of RX packets received by the node during internal cluster communication.
  1006. `transport.rx_size_in_bytes`::
  1007. (integer)
  1008. Size, in bytes, of RX packets received by the node during internal cluster
  1009. communication.
  1010. `transport.tx_count`::
  1011. (integer)
  1012. Total number of TX (transmit) packets sent by the node during internal cluster
  1013. communication.
  1014. `transport.tx_size`::
  1015. (<<byte-units,byte value>>)
  1016. Size of TX packets sent by the node during internal cluster communication.
  1017. `transport.tx_size_in_bytes`::
  1018. (integer)
  1019. Size, in bytes, of TX packets sent by the node during internal cluster
  1020. communication.
  1021. ====
  1022. [[cluster-nodes-stats-api-response-body-http]]
  1023. ===== `http` section
  1024. [%collapsible]
  1025. ====
  1026. `http.current_open`::
  1027. (integer)
  1028. Current number of open HTTP connections for the node.
  1029. `http.total_opened`::
  1030. (integer)
  1031. Total number of HTTP connections opened for the node.
  1032. ====
  1033. [[cluster-nodes-stats-api-response-body-breakers]]
  1034. ===== `breakers` section
  1035. [%collapsible]
  1036. ====
  1037. `breakers.<circuit_breaker_name>.limit_size_in_bytes`::
  1038. (integer)
  1039. Memory limit, in bytes, for the circuit breaker.
  1040. `breakers.<circuit_breaker_name>.limit_size`::
  1041. (<<byte-units,byte value>>)
  1042. Memory limit for the circuit breaker.
  1043. `breakers.<circuit_breaker_name>.estimated_size_in_bytes`::
  1044. (integer)
  1045. Estimated memory used, in bytes, for the operation.
  1046. `breakers.<circuit_breaker_name>.estimated_size`::
  1047. (<<byte-units,byte value>>)
  1048. Estimated memory used for the operation.
  1049. `breakers.<circuit_breaker_name>.overhead`::
  1050. (float)
  1051. A constant that all estimates for the circuit breaker are multiplied with to
  1052. calculate a final estimate.
  1053. `breakers.<circuit_breaker_name>.tripped`::
  1054. (integer)
  1055. Total number of times the circuit breaker has been triggered and prevented an
  1056. out of memory error.
  1057. ====
  1058. [[cluster-nodes-stats-api-response-body-script]]
  1059. ===== `script` section
  1060. [%collapsible]
  1061. ====
  1062. `script.compilations`::
  1063. (integer)
  1064. Total number of inline script compilations performed by the node.
  1065. `script.cache_evictions`::
  1066. (integer)
  1067. Total number of times the script cache has evicted old data.
  1068. `script.compilation_limit_triggered`::
  1069. (integer)
  1070. Total number of times the <<script-compilation-circuit-breaker,script
  1071. compilation>> circuit breaker has limited inline script compilations.
  1072. ====
  1073. [[cluster-nodes-stats-api-response-body-discovery]]
  1074. ===== `discovery` section
  1075. [%collapsible]
  1076. ====
  1077. `discovery.cluster_state_queue.total`::
  1078. (integer)
  1079. Total number of cluster states in queue.
  1080. `discovery.cluster_state_queue.pending`::
  1081. (integer)
  1082. Number of pending cluster states in queue.
  1083. `discovery.cluster_state_queue.committed`::
  1084. (integer)
  1085. Number of committed cluster states in queue.
  1086. `discovery.published_cluster_states.full_states`::
  1087. (integer)
  1088. Number of published cluster states.
  1089. `discovery.published_cluster_states.incompatible_diffs`::
  1090. (integer)
  1091. Number of incompatible differences between published cluster states.
  1092. `discovery.published_cluster_states.compatible_diffs`::
  1093. (integer)
  1094. Number of compatible differences between published cluster states.
  1095. ====
  1096. [[cluster-nodes-stats-api-response-body-ingest]]
  1097. ===== `ingest` section
  1098. [%collapsible]
  1099. ====
  1100. `ingest.total.count`::
  1101. (integer)
  1102. Total number of documents ingested during the lifetime of this node.
  1103. `ingest.total.time`::
  1104. (<<time-units,time value>>)
  1105. Total time spent preprocessing ingest documents during the lifetime of this
  1106. node.
  1107. `ingest.total.time_in_millis`::
  1108. (integer)
  1109. Total time, in milliseconds, spent preprocessing ingest documents during the
  1110. lifetime of this node.
  1111. `ingest.total.current`::
  1112. (integer)
  1113. Total number of documents currently being ingested.
  1114. `ingest.total.failed`::
  1115. (integer)
  1116. Total number of failed ingest operations during the lifetime of this node.
  1117. `ingest.pipelines.<pipeline_id>.count`::
  1118. (integer)
  1119. Number of documents preprocessed by the ingest pipeline.
  1120. `ingest.pipelines.<pipeline_id>.time`::
  1121. (<<time-units,time value>>)
  1122. Total time spent preprocessing documents in the ingest pipeline.
  1123. `ingest.pipelines.<pipeline_id>.time_in_millis`::
  1124. (integer)
  1125. Total time, in milliseconds, spent preprocessing documents in the ingest
  1126. pipeline.
  1127. `ingest.pipelines.<pipeline_id>.failed`::
  1128. (integer)
  1129. Total number of failed operations for the ingest pipeline.
  1130. `ingest.pipelines.<pipeline_id>.processors.<processor>.count`::
  1131. (integer)
  1132. Number of documents transformed by the processor.
  1133. `ingest.pipelines.<pipeline_id>.processors.<processor>.time`::
  1134. (<<time-units,time value>>)
  1135. Time spent by the processor transforming documents.
  1136. `ingest.pipelines.<pipeline_id>.processors.<processor>.time_in_millis`::
  1137. (integer)
  1138. Time, in milliseconds, spent by the processor transforming documents.
  1139. `ingest.pipelines.<pipeline_id>.processors.<processor>.current`::
  1140. (integer)
  1141. Number of documents currently being transformed by the processor.
  1142. `ingest.pipelines.<pipeline_id>.processors.<processor>.failed`::
  1143. (integer)
  1144. Number of failed operations for the processor.
  1145. ====
  1146. [[cluster-nodes-stats-api-response-body-adaptive-selection]]
  1147. ===== `adaptive_selection` section
  1148. [%collapsible]
  1149. ====
  1150. `adaptive_selection.outgoing_searches`::
  1151. (integer)
  1152. The number of outstanding search requests from the node these stats are for
  1153. to the keyed node.
  1154. `adaptive_selection.avg_queue_size`::
  1155. (integer)
  1156. The exponentially weighted moving average queue size of search requests on
  1157. the keyed node.
  1158. `adaptive_selection.avg_service_time`::
  1159. (<<time-units,time value>>)
  1160. The exponentially weighted moving average service time of search requests on
  1161. the keyed node.
  1162. `adaptive_selection.avg_service_time_ns`::
  1163. (integer)
  1164. The exponentially weighted moving average service time, in nanoseconds, of
  1165. search requests on the keyed node.
  1166. `adaptive_selection.avg_response_time`::
  1167. (<<time-units,time value>>)
  1168. The exponentially weighted moving average response time of search requests
  1169. on the keyed node.
  1170. `adaptive_selection.avg_response_time_ns`::
  1171. (integer)
  1172. The exponentially weighted moving average response time, in nanoseconds, of
  1173. search requests on the keyed node.
  1174. `adaptive_selection.rank`::
  1175. (string)
  1176. The rank of this node; used for shard selection when routing search
  1177. requests.
  1178. ====
  1179. [[cluster-nodes-stats-api-example]]
  1180. ==== {api-examples-title}
  1181. [source,console]
  1182. --------------------------------------------------
  1183. # return just indices
  1184. GET /_nodes/stats/indices
  1185. # return just os and process
  1186. GET /_nodes/stats/os,process
  1187. # return just process for node with IP address 10.0.0.1
  1188. GET /_nodes/10.0.0.1/stats/process
  1189. --------------------------------------------------
  1190. All stats can be explicitly requested via `/_nodes/stats/_all` or
  1191. `/_nodes/stats?metric=_all`.
  1192. You can get information about indices stats on `node`, `indices`, or `shards`
  1193. level.
  1194. [source,console]
  1195. --------------------------------------------------
  1196. # Fielddata summarized by node
  1197. GET /_nodes/stats/indices/fielddata?fields=field1,field2
  1198. # Fielddata summarized by node and index
  1199. GET /_nodes/stats/indices/fielddata?level=indices&fields=field1,field2
  1200. # Fielddata summarized by node, index, and shard
  1201. GET /_nodes/stats/indices/fielddata?level=shards&fields=field1,field2
  1202. # You can use wildcards for field names
  1203. GET /_nodes/stats/indices/fielddata?fields=field*
  1204. --------------------------------------------------
  1205. You can get statistics about search groups for searches executed
  1206. on this node.
  1207. [source,console]
  1208. --------------------------------------------------
  1209. # All groups with all stats
  1210. GET /_nodes/stats?groups=_all
  1211. # Some groups from just the indices stats
  1212. GET /_nodes/stats/indices?groups=foo,bar
  1213. --------------------------------------------------
  1214. [[cluster-nodes-stats-ingest-ex]]
  1215. ===== Retrieve ingest statistics only
  1216. To return only ingest-related node statistics, set the `<metric>` path
  1217. parameter to `ingest` and use the
  1218. <<common-options-response-filtering,`filter_path`>> query parameter.
  1219. [source,console]
  1220. --------------------------------------------------
  1221. GET /_nodes/stats/ingest?filter_path=nodes.*.ingest
  1222. --------------------------------------------------
  1223. You can use the `metric` and `filter_path` query parameters to get the same
  1224. response.
  1225. [source,console]
  1226. --------------------------------------------------
  1227. GET /_nodes/stats?metric=ingest&filter_path=nodes.*.ingest
  1228. --------------------------------------------------
  1229. To further refine the response, change the `filter_path` value.
  1230. For example, the following request only returns ingest pipeline statistics.
  1231. [source,console]
  1232. --------------------------------------------------
  1233. GET /_nodes/stats?metric=ingest&filter_path=nodes.*.ingest.pipelines
  1234. --------------------------------------------------