ELK
Elasticsearch
插件和工具Curator
Curator是一个有助于管理es索引的重要工具。随着数据的增加,它变得非常重要,可以管理各种需要保留的数据和删除的数据。Curator可以用来删除旧的索引并优化系统
Curator
命令curator [FLAGS] COMMAND [FLAGS] SUBCOMMAND [FLAGS]
删除某个时间之前的索引
curator --host 10.0.0.x delete indices --older-than 180 --time-unit days --timestring '%Y.%m.%d'
显示匹配时间字符串的所有索引
curator --host 10.0.0.x show indices --timestring '%Y.%m.%d'
将30天之前的索引添加别名为last_month
curator alias --alias-older-than 30 --alias last_month
从别名last_month中删除60天以前的索引
curator alias --unalias-older-than 60 --alias last_month
Curator
pip install elasticsearch-curator
https://github.com/elastic/curator https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html
Marvel
Marvel
是用于监控es
集群的产品。它提供了一个单一的界面来查看集群的聚合分析。在这里可以查看集群的一些关键指标,如健康状况、节点状态和索引等。Marvel
对集群想着的问题做根源分析非常有帮助,确保可以提前发现问题并解决。也可以用它来分析历史数据或实时性数据Marvel2.0已经完全重构成了Kibana插件 https://www.elastic.co/guide/en/marvel/current/index.html
ELK
的路线图Elasticsearch
路线图https://www.elastic.co/guide/en/elasticsearch/plugins/current/index.html
Logstash
路线图https://github.com/elastic/logstash/labels/roadmap
Kibana
路线图https://www.elastic.co/guide/en/kibana/current/whats-new.html