elasticsearch时间格式索引管理工具: curator
来源:互联网 发布:手机上的c语言编辑器 编辑:程序博客网 时间:2024/06/09 22:50
如果使用elasticsearch时,你是使用时间作为索引,那么可以通过curator对索引进行管理。通过curator可以大大简化索引的管理成本。
github: https://github.com/elasticsearch/curator
缺省的选项:
--host localhost--port 9200-t (or --timeout) 30-T (or --time-unit) days-p (or --prefix) logstash-
curator匹配索引的方式是:prefix + 时间字符串格式 + suffix
其中时间字符串格式可以通过使用python strftime formatting构造。
使用方法:
1. 删除30天前的索引
curator delete --older-than 30
2. 关闭14天前的所有索引curator close --older-than 14
3. 列出所有索引curator show --show-indices
0 0
- elasticsearch时间格式索引管理工具: curator
- es索引管理工具——curator
- elasticsearch:用Curator辅助Marvel,实现自动删除marvel索引
- elasticsearch-curator的安装
- ElasticSearch Curator使用教程
- Elasticsearch:用Curator辅助Marvel,实现自动删除旧marvel索引
- flume建立ElasticSearch索引时间的问题
- elasticsearch-head-elasticsearch集群管理工具
- elasticsearch集群管理工具head
- 时间管理工具
- Elasticsearch索引。
- ElasticSearch(二):集群管理工具elasticsearch-head
- elasticsearch集群管理工具head插件
- elasticsearch集群管理工具head插件
- Elasticsearch - 集群管理工具Head插件
- elasticsearch集群管理工具head插件
- elasticsearch集群管理工具head插件
- elasticsearch集群管理工具head插件
- 黑马程序猿_OC之三大特性
- 局部内部类访问局部变量的问题
- C语言 return多值的解决方案
- 小编程题之检测字符串表达式中括号是否配对
- php计算抽奖的概率
- elasticsearch时间格式索引管理工具: curator
- UVA - 10057 A mid-summer night's dream. 子序列
- 安装commerce_kickstart全记录
- 动态开辟二维数组,初始化二维数组指针
- 创建MFC项目时,出现链接error,如error LINK2001
- JS实现二分查找算法
- WildcardQuery通配符搜索
- UVA - 10340 All in All
- LeetCode—TowSum