Elastic Search总索引大小

时间:2018-11-25 21:06:49

标签: elasticsearch size elasticsearch-indices

我正在尝试获取Elasticsearch中索引(而不是商店)的实际大小。我使用了索引API来获取统计信息。

GET doc/_stats

“索引”-“ index_total”的实际索引大小是多少?

"total": {
      "docs": {
        "count": 1000000,
        "deleted": 0
      },
      "store": {
        "size_in_bytes": 118078896
      },
      "indexing": {
        "index_total": 1000000,
        "index_time_in_millis": 30985,
        "index_current": 0,
        "index_failed": 0,
        "delete_total": 0,
        "delete_time_in_millis": 0,
        "delete_current": 0,
        "noop_update_total": 0,
        "is_throttled": false,
        "throttle_time_in_millis": 0
      },

1 个答案:

答案 0 :(得分:0)

您可以使用此命令获得所有索引大小,分别显示

curl '192.168.x.x:9200/_cat/indices?v'