ELK API

统计elasticsearch总数据条数

http://192.168.188.69:9200/logstash-*/_count
其中count就是制定索引的总数据条数

统计总存储空间占用

http://192.168.188.69:9200/_cat/shards?v

logstash-API

curl -XGET 'localhost:9600/_node/stats/reloads'

https://www.elastic.co/guide/en/logstash/7.1/node-stats-api.html

  

原文地址:https://www.cnblogs.com/hanwei666/p/11934338.html