/_nodes/stats 字段意思   “”

    1 {  2     "_nodes": {3     "total": 1,
  4     "successful": 1,
  5     "failed": 0
  6   },
  7   "cluster_name": "ELKTEST",
  8   "nodes": {
  9     "lnlHC8yERCKXCuAc_2DPCQ": {
 10       "timestamp": 1534242595995,
 11       "name": "OPS01-ES01",
 12       "transport_address": "10.9.125.148:9300",
 13       "host": "10.9.125.148",
 14       "ip": "10.9.125.148:9300",
 15       "roles": [
 16         "master",
 17         "data",
 18         "ingest"
 19       ],
 20       "attributes": {
 21         "ml.machine_memory": "8203104256",
 22         "xpack.installed": "true",
 23         "ml.max_open_jobs": "20",
 24         "ml.enabled": "true"
 25       },
 26       "indices": {
 27         "docs": {
 28           "count": 8111612,   # 显示节点上有多少文档
 29           "deleted": 16604    # 有多少已删除的文档还未从数据段中删除
 30         },
 31         "store": {
 32           "size_in_bytes": 2959876263  # 显示该节点消耗了多少物理存储
 33         },
 34         "indexing": {       #表示索引文档的次数,这个是通过一个计数器累加计数的。当文档被删除时,它不会减少。注意这个值永远是递增的,发生在内部索引数据的时候,包括那些更新操作
 35           "index_total": 17703152,
 36           "index_time_in_millis": 2801934,
 37           "index_current": 0,
 38           "index_failed": 0,
 39           "delete_total": 46242,
 40           "delete_time_in_millis": 2130,
 41           "delete_current": 0,
 42           "noop_update_total": 0,
 43           "is_throttled": false,
 44           "throttle_time_in_millis": 0    # 这个值高的时候,说明磁盘流量设置太低
 45         },
 46         "get": {
 47           "total": 185179,
 48           "time_in_millis": 22341,
 49           "exists_total": 185178,
 50           "exists_time_in_millis": 22337,
 51           "missing_total": 1,
 52           "missing_time_in_millis": 4,
 53           "current": 0
 54         },
 55         "search": {
 56           "open_contexts": 0,   # 主动检索的次数,
 57           "query_total": 495447,    # 查询总数
 58           "query_time_in_millis": 298344,   # 节点启动到此查询消耗总时间,  query_time_in_millis / query_total的比值可以作为你的查询效率的粗略指标。比值越大,每个查询用的时间越多,你就需要考虑调整或者优化。
 59           "query_current": 0,         #后面关于fetch的统计,是描述了查询的第二个过程(也就是query_the_fetch里的fetch)。fetch花的时间比query的越多,表示你的磁盘很慢,或者你要fetch的的文档太多。或者你的查询参数分页条件太大,(例如size等于1万
 60           "fetch_total": 130194,
 61           "fetch_time_in_millis": 51211,
 62           "fetch_current": 0,
 63           "scroll_total": 22,
 64           "scroll_time_in_millis": 2196665,
 65           "scroll_current": 0,
 66           "suggest_total": 0,
 67           "suggest_time_in_millis": 0,
 68           "suggest_current": 0
 69         },
 70         "merges": { # 包含lucene段合并的信息,它会告诉你有多少段合并正在进行,参与的文档数,这些正在合并的段的总大小,以及花在merge上的总时间。                如果你的集群写入比较多,这个merge的统计信息就很重要。merge操作会消耗大量的磁盘io和cpu资源。如果你的索引写入很多,你会看到大量的merge操作
 71           "current": 0,
 72           "current_docs": 0,
 73           "current_size_in_bytes": 0,
 74           "total": 68341,
 75           "total_time_in_millis": 18490611,
 76           "total_docs": 1016579669,
 77           "total_size_in_bytes": 344453480895,
 78           "total_stopped_time_in_millis": 0,
 79           "total_throttled_time_in_millis": 1557,
 80           "total_auto_throttle_in_bytes": 4345437596
 81         },
 82         "refresh": {
 83           "total": 729643,
 84           "total_time_in_millis": 7843558,
 85           "listeners": 0
 86         },
 87         "flush": {
 88           "total": 5161,
 89           "periodic": 12,
 90           "total_time_in_millis": 53116
 91         },
 92         "warmer": {
 93           "current": 0,
 94           "total": 718343,
 95           "total_time_in_millis": 38069
 96         },
 97         "query_cache": {
 98           "memory_size_in_bytes": 0,
 99           "total_count": 0,
100           "hit_count": 0,
101           "miss_count": 0,
102           "cache_size": 0,
103           "cache_count": 0,
104           "evictions": 0
105         },
106         "fielddata": {   #显示了fielddata使用的内存,fielddata用于聚合、排序等。这里也有一个淘汰数,不像filter_cache,这里的淘汰数很有用,它必须是0或者接近0,因为fielddata 不是缓存,任何淘汰的代价都是很大的,必须要避免的。如果你看到了淘汰,你必须重新评估你的内存情况,关于fielddata的限制,以及查询,或者三者全部。
107           "memory_size_in_bytes": 25312,
108           "evictions": 0
109         },
110         "completion": {
111           "size_in_bytes": 0
112         },
113         "segments": { 告诉你当前节点的lucene 段的个数,这可能是一个很重要的数字。大多数的索引应该在50到150个段左右,即便是几T大小的数十亿的文档。大量的段会带来合并的问题(例如:合并赶不上段的产生)。注意这个统计是对一个节点上所有的索引而言的              其中内存的统计,可以告诉你Lucene的段自身需要多少内存。这里包括基础的数据结构,包括提交列表,词典,bloom过滤器等。段的数量多会增加承载这些数据结构的开销,这个内存的使用就是对这个开销的度量。114           "count": 1171,
115           "memory_in_bytes": 17486054,
116           "terms_memory_in_bytes": 11679054,
117           "stored_fields_memory_in_bytes": 1628744,
118           "term_vectors_memory_in_bytes": 0,
119           "norms_memory_in_bytes": 1017280,
120           "points_memory_in_bytes": 745044,
121           "doc_values_memory_in_bytes": 2415932,
122           "index_writer_memory_in_bytes": 42232420,
123           "version_map_memory_in_bytes": 10812921,
124           "fixed_bit_set_memory_in_bytes": 148136,
125           "max_unsafe_auto_id_timestamp": 1534205010926,
126           "file_sizes": {}
127         },
128         "translog": {
129           "operations": 2422069,
130           "size_in_bytes": 2187759163,
131           "uncommitted_operations": 1092028,
132           "uncommitted_size_in_bytes": 1116860690,
133           "earliest_last_modified_age": 0
134         },
135         "request_cache": {
136           "memory_size_in_bytes": 524054,
137           "evictions": 0,
138           "hit_count": 157346,
139           "miss_count": 15441
140         },
141         "recovery": {
142           "current_as_source": 0,
143           "current_as_target": 0,
144           "throttle_time_in_millis": 0
145         }
146       },
147       "os": {
148         "timestamp": 1534242596057,
149         "cpu": {
150           "percent": 7,
151           "load_average": {
152             "1m": 0.02,
153             "5m": 0.05,
154             "15m": 0.12
155           }
156         },
157         "mem": {
158           "total_in_bytes": 8203104256,
159           "free_in_bytes": 147980288,
160           "used_in_bytes": 8055123968,
161           "free_percent": 2,
162           "used_percent": 98
163         },
164         "swap": {
165           "total_in_bytes": 536866816,
166           "free_in_bytes": 531492864,
167           "used_in_bytes": 5373952
168         },
169         "cgroup": {
170           "cpuacct": {
171             "control_group": "/",
172             "usage_nanos": 47396754950801
173           },
174           "cpu": {
175             "control_group": "/",
176             "cfs_period_micros": 100000,
177             "cfs_quota_micros": -1,
178             "stat": {
179               "number_of_elapsed_periods": 0,
180               "number_of_times_throttled": 0,
181               "time_throttled_nanos": 0
182             }
183           },
184           "memory": {
185             "control_group": "/",
186             "limit_in_bytes": "9223372036854775807",
187             "usage_in_bytes": "7463514112"
188           }
189         }
190       },
191       "process": {
192         "timestamp": 1534242596058,
193         "open_file_descriptors": 1317,
194         "max_file_descriptors": 65536,
195         "cpu": {
196           "percent": 7,
197           "total_in_millis": 44676020
198         },
199         "mem": {
200           "total_virtual_in_bytes": 12394913792
201         }
202       },
203       "jvm": {
204         "timestamp": 1534242596059,
205         "uptime_in_millis": 463947765,
206         "mem": {
207           "heap_used_in_bytes": 1039819544,
208           "heap_used_percent": 19,
209           "heap_committed_in_bytes": 5333843968,
210           "heap_max_in_bytes": 5333843968,
211           "non_heap_used_in_bytes": 186193160,
212           "non_heap_committed_in_bytes": 198041600,
213           "pools": {
214             "young": {
215               "used_in_bytes": 179829784,
216               "max_in_bytes": 279183360,
217               "peak_used_in_bytes": 279183360,
218               "peak_max_in_bytes": 279183360
219             },
220             "survivor": {
221               "used_in_bytes": 10640952,
222               "max_in_bytes": 34865152,
223               "peak_used_in_bytes": 34865152,
224               "peak_max_in_bytes": 34865152
225             },
226             "old": {
227               "used_in_bytes": 849348808,
228               "max_in_bytes": 5019795456,
229               "peak_used_in_bytes": 3773164872,
230               "peak_max_in_bytes": 5019795456
231             }
232           }
233         },
234         "threads": {
235           "count": 118,
236           "peak_count": 122
237         },
238         "gc": {
239           "collectors": {
240             "young": {
241               "collection_count": 92158,
242               "collection_time_in_millis": 1728982
243             },
244             "old": {
245               "collection_count": 19,
246               "collection_time_in_millis": 2384
247             }
248           }
249         },
250         "buffer_pools": {
251           "direct": {
252             "count": 45,
253             "used_in_bytes": 135044601,
254             "total_capacity_in_bytes": 135044600
255           },
256           "mapped": {
257             "count": 2827,
258             "used_in_bytes": 2924840579,
259             "total_capacity_in_bytes": 2924840579
260           }
261         },
262         "classes": {
263           "current_loaded_count": 17649,
264           "total_loaded_count": 17806,
265           "total_unloaded_count": 157
266         }
267       },
268       "thread_pool": {
269         "analyze": {
270           "threads": 0,
271           "queue": 0,
272           "active": 0,
273           "rejected": 0,
274           "largest": 0,
275           "completed": 0
276         },
277         "fetch_shard_started": {
278           "threads": 0,
279           "queue": 0,
280           "active": 0,
281           "rejected": 0,
282           "largest": 0,
283           "completed": 0
284         },
285         "fetch_shard_store": {
286           "threads": 0,
287           "queue": 0,
288           "active": 0,
289           "rejected": 0,
290           "largest": 0,
291           "completed": 0
292         },
293         "flush": {
294           "threads": 2,
295           "queue": 0,
296           "active": 0,
297           "rejected": 0,
298           "largest": 2,
299           "completed": 10481
300         },
301         "force_merge": {
302           "threads": 0,
303           "queue": 0,
304           "active": 0,
305           "rejected": 0,
306           "largest": 0,
307           "completed": 0
308         },
309         "generic": {
310           "threads": 7,
311           "queue": 0,
312           "active": 0,
313           "rejected": 0,
314           "largest": 7,
315           "completed": 1252071
316         },
317         "get": {
318           "threads": 4,
319           "queue": 0,
320           "active": 0,
321           "rejected": 0,
322           "largest": 4,
323           "completed": 138926
324         },
325         "index": {
326           "threads": 4,
327           "queue": 0,
328           "active": 0,
329           "rejected": 0,
330           "largest": 4,
331           "completed": 46253
332         },
333         "listener": {
334           "threads": 2,
335           "queue": 0,
336           "active": 0,
337           "rejected": 0,
338           "largest": 2,
339           "completed": 16
340         },
341         "management": {
342           "threads": 5,
343           "queue": 0,
344           "active": 1,
345           "rejected": 0,
346           "largest": 5,
347           "completed": 802281
348         },
349         "ml_autodetect": {
350           "threads": 0,
351           "queue": 0,
352           "active": 0,
353           "rejected": 0,
354           "largest": 0,
355           "completed": 0
356         },
357         "ml_datafeed": {
358           "threads": 0,
359           "queue": 0,
360           "active": 0,
361           "rejected": 0,
362           "largest": 0,
363           "completed": 0
364         },
365         "ml_utility": {
366           "threads": 25,
367           "queue": 0,
368           "active": 0,
369           "rejected": 0,
370           "largest": 25,
371           "completed": 25
372         },
373         "refresh": {
374           "threads": 2,
375           "queue": 0,
376           "active": 1,
377           "rejected": 0,
378           "largest": 2,
379           "completed": 16523282
380         },
381         "rollup_indexing": {
382           "threads": 0,
383           "queue": 0,
384           "active": 0,
385           "rejected": 0,
386           "largest": 0,
387           "completed": 0
388         },
389         "search": {
390           "threads": 7,
391           "queue": 0,
392           "active": 0,
393           "rejected": 0,
394           "largest": 7,
395           "completed": 722194
396         },
397         "security-token-key": {
398           "threads": 0,
399           "queue": 0,
400           "active": 0,
401           "rejected": 0,
402           "largest": 0,
403           "completed": 0
404         },
405         "snapshot": {
406           "threads": 0,
407           "queue": 0,
408           "active": 0,
409           "rejected": 0,
410           "largest": 0,
411           "completed": 0
412         },
413         "warmer": {
414           "threads": 2,
415           "queue": 0,
416           "active": 0,
417           "rejected": 0,
418           "largest": 2,
419           "completed": 389633
420         },
421         "watcher": {
422           "threads": 20,
423           "queue": 0,
424           "active": 0,
425           "rejected": 0,
426           "largest": 20,
427           "completed": 46242
428         },
429         "write": {
430           "threads": 4,
431           "queue": 0,
432           "active": 0,
433           "rejected": 0,
434           "largest": 4,
435           "completed": 1162801
436         }
437       },
438       "fs": {
439         "timestamp": 1534242596059,
440         "total": {
441           "total_in_bytes": 321965260800,
442           "free_in_bytes": 316715397120,
443           "available_in_bytes": 316715397120
444         },
445         "least_usage_estimate": {
446           "path": "/data/elasticsearch/data/nodes/0",
447           "total_in_bytes": 321965260800,
448           "available_in_bytes": 316714684416,
449           "used_disk_percent": 1.63078972276503
450         },
451         "most_usage_estimate": {
452           "path": "/data/elasticsearch/data/nodes/0",
453           "total_in_bytes": 321965260800,
454           "available_in_bytes": 316714684416,
455           "used_disk_percent": 1.63078972276503
456         },
457         "data": [
458           {
459             "path": "/data/elasticsearch/data/nodes/0",
460             "mount": "/data (/dev/vdb)",
461             "type": "xfs",
462             "total_in_bytes": 321965260800,
463             "free_in_bytes": 316715397120,
464             "available_in_bytes": 316715397120
465           }
466         ],
467         "io_stats": {
468           "devices": [
469             {
470               "device_name": "vdb",
471               "operations": 7009127,
472               "read_operations": 43871,
473               "write_operations": 6965256,
474               "read_kilobytes": 789805,
475               "write_kilobytes": 384479626
476             }
477           ],
478           "total": {
479             "operations": 7009127,
480             "read_operations": 43871,
481             "write_operations": 6965256,
482             "read_kilobytes": 789805,
483             "write_kilobytes": 384479626
484           }
485         }
486       },
487       "transport": {
488         "server_open": 0,
489         "rx_count": 10,
490         "rx_size_in_bytes": 5428,
491         "tx_count": 10,
492         "tx_size_in_bytes": 5428
493       },
494       "http": {
495         "current_open": 23,
496         "total_opened": 2739
497       },
498       "breakers": {
499         "request": {
500           "limit_size_in_bytes": 3200306380,
501           "limit_size": "2.9gb",
502           "estimated_size_in_bytes": 0,
503           "estimated_size": "0b",
504           "overhead": 1,
505           "tripped": 0
506         },
507         "fielddata": {
508           "limit_size_in_bytes": 3200306380,
509           "limit_size": "2.9gb",
510           "estimated_size_in_bytes": 25312,
511           "estimated_size": "24.7kb",
512           "overhead": 1.03,
513           "tripped": 0
514         },
515         "in_flight_requests": {
516           "limit_size_in_bytes": 5333843968,
517           "limit_size": "4.9gb",
518           "estimated_size_in_bytes": 0,
519           "estimated_size": "0b",
520           "overhead": 1,
521           "tripped": 0
522         },
523         "accounting": {
524           "limit_size_in_bytes": 5333843968,
525           "limit_size": "4.9gb",
526           "estimated_size_in_bytes": 17486054,
527           "estimated_size": "16.6mb",
528           "overhead": 1,
529           "tripped": 0
530         },
531         "parent": {
532           "limit_size_in_bytes": 3733690777,
533           "limit_size": "3.4gb",
534           "estimated_size_in_bytes": 17511366,
535           "estimated_size": "16.7mb",
536           "overhead": 1,
537           "tripped": 0
538         }
539       },
540       "script": {
541         "compilations": 27,
542         "cache_evictions": 0
543       },
544       "discovery": {
545         "cluster_state_queue": {
546           "total": 0,
547           "pending": 0,
548           "committed": 0
549         },
550         "published_cluster_states": {
551           "full_states": 0,
552           "incompatible_diffs": 0,
553           "compatible_diffs": 0
554         }
555       },
556       "ingest": {
557         "total": {
558           "count": 0,
559           "time_in_millis": 0,
560           "current": 0,
561           "failed": 0
562         },
563         "pipelines": {
564           "xpack_monitoring_6": {
565             "count": 0,
566             "time_in_millis": 0,
567             "current": 0,
568             "failed": 0
569           },
570           "xpack_monitoring_2": {
571             "count": 0,
572             "time_in_millis": 0,
573             "current": 0,
574             "failed": 0
575           }
576         }
577       },
578       "adaptive_selection": {
579         "lnlHC8yERCKXCuAc_2DPCQ": {
580           "outgoing_searches": 0,
581           "avg_queue_size": 0,
582           "avg_service_time_ns": 61180,
583           "avg_response_time_ns": 326251,
584           "rank": "0.3"
585         }
586       }
587     }
588   }
589 }

转载于:https://www.cnblogs.com/zhengyionline/p/9476711.html

elasticsearch 的查询 /_nodes/stats 各字段意思相关推荐

  1. elasticsearch 关联查询_Elasticsearch字段类型之Range经典应用场景

    序言 Elasticsearch产品功能越来越强大,字段类型支持很多种,部分类型还引入了专用的算法.一个客户企业选中Elastic作为搜索中台,居然是看中了Elastic的Range字段类型,下面就围 ...

  2. Elasticsearch聚合查询多字段设置权重

    Elasticsearch聚合查询多字段设置权重 背景 环境说明 script设置权重 小结 背景 实际应用中,可能会需要为为doc文档中某个字段的某些特定的值设置权重,影响排序.es提供了比较灵活的 ...

  3. 为什么 elasticsearch 要避免使用term查询text类型的字段

    文章目录 term 查询 参数 value boost 避免使用term查询text类型的字段 1.创建一个含有text类型字段full_text 2.索引一个文档 3.在full_text字段使用t ...

  4. Elasticsearch——分页查询

    默认情况下,搜索返回前10个匹配的命中率.要浏览更大的结果集,可以使用搜索API的from和size参数.from参数定义要跳过的点击数,默认为0.size参数是要返回的最大点击数.这两个参数一起定义 ...

  5. Elasticsearch 分页查询聚合分析

    分页查询 关于 Elasticsearch 分页查询,这几个问题经常被问到 问题1:想请问下,一次性获取索引上的某个字段的所有值(100 万左右),除了把 max_result_window 调大 , ...

  6. elasticsearch 分页查询实现方案——Top K+归并排序

    elasticsearch 分页查询实现方案 1. from+size 实现分页 from表示从第几行开始,size表示查询多少条文档.from默认为0,size默认为10, 注意:size的大小不能 ...

  7. 【全文搜索引擎】Elasticsearch基本查询基础JavaAPI

    操作索引 ElasticSearch存储数据的地方,可以理解成关系型数据库中的数据库概念. 添加索引 PUT http://ip:端口/索引名称Kibana操作 --- PUT 索引名称 查询索引 G ...

  8. Elasticsearch聚合查询案例分享

    为什么80%的码农都做不了架构师?>>>    Elasticsearch聚合查询案例分享 1.案例介绍 本文包含三个案例: 案例1:统计特定时间范围内每个应用的总访问量.访问成功数 ...

  9. elasticsearch高亮显示查询结果

    elasticsearch高亮显示查询结果 //高亮显示查询结果 @Test public void demo9() throws Exception{//创建连接搜索服务器的对象Client cli ...

最新文章

  1. java scanner和for_java中Scanner和random的用法
  2. HP1020打印机“传递给系统调用的数据区域太小” 如何处理?
  3. hash tree算法
  4. Linux_Rsync远程同步备份服务器
  5. android四大组件五大存储六大布局,物联网研报:物联网进入规模化应用时代
  6. Hibernate List集合映射
  7. python爬虫知识_Python 爬虫技术分享
  8. Winedit 快捷键概览
  9. 寻仙新马源码一键端_强大,腾讯开源前后端接口开发工具!
  10. win7装mysql5.5_Win7下mysql5.5安装图文教程
  11. activiti 条件表达式json报错_json模块和pickle模块
  12. 为什么录像总是很暗_深度:为什么看马拉多纳的踢球视频,并不觉得他很厉害?...
  13. 超实用压力测试工具-ab工具
  14. 在线购物网站-实验4
  15. modelica用inertia连接FlangeWithBearing时报组件不匹配连接错误:incompatible components in connect statement
  16. 莫迪:“智能城市”可协助解决城市化快速扩张挑战
  17. getch()函数怎么用
  18. Python NLP 自然语言处理
  19. 0x01 前情提要随着疫情反复,今天我在家办公。我需要登一台服务器上配置,但是那个地址只能通过深信服vpn连接,在家办公一天就带了台kali系统的笔记本回来,没带windows的。 kali上
  20. java 读取tsv_uniVocity-parsers:一款强大的CSV/TSV/定宽文本文件解析库(Java)

热门文章

  1. 【HDU - 2255】奔小康赚大钱(KM算法模板,二分图最优匹配)
  2. 【POJ - 1028】 Web Navigation( 栈 or 模拟队列 )
  3. 重读经典:《An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale》
  4. mysql连接方式左联_数据库中的左连接(left join)和右连接(right join)区别 | 改变自己...
  5. eclipse wsdl2java_使用Eclipse的wsdl2java工具
  6. Oracle 多表查询 --笛卡尔集--左连接--右连接--1999 语法--满外连接
  7. leetcode1491. 工资平均值 这也叫题?也太简单了吧
  8. leetcode589. N叉树的前序遍历
  9. dp打开思路3:HDU1069 POJ3616 POJ1088
  10. (十七)深入浅出TCPIP之UDP打洞原理