【发布时间】:2016-06-07 18:26:34
【问题描述】:
我发现我的磁盘已满,可用于 elasticsearch
然后,当我尝试运行该命令时,遇到了以下问题。
[Administrator@localhost elasticsearch]$ curator --host 172.16.1.245 删除索引 --older-than 2 --time-unit days --timestring '%Y.%m.%d' 回溯(最近一次通话最后): 文件“/usr/bin/curator”,第 5 行,在 从 pkg_resources 导入 load_entry_point ImportError: 没有名为 pkg_resources 的模块
【问题讨论】:
-
为什么不直接删除 elasticsearch 索引目录中的文件有帮助?
-
我建议不要使用文件系统上的原始文件。正确使用 curator 或使用带有 curl 命令的
DELETE index端点运行。
标签: elasticsearch logstash kibana