无法使用 curator 3.4.1 删除我的 ELK 版本中的日志:5.6.5
can't use curator 3.4.1 to delete logs in my ELK Version: 5.6.5
我有 ELK 5.6.5,我像往常一样尝试使用 curator 删除旧日志,但现在失败了。
curator --version
curator, version 3.4.1
我已经使用命令$ sudo apt-get install elasticsearch-curator
安装了curator
当运行 curator命令和输出如下图:
ELK-5:~$ curator delete indices --older-than 14 --time-unit days --timestring %Y.%m.%d --regex '^logstash-'
2018-01-09 14:14:08,220 INFO Job starting: delete indices
2018-01-09 14:14:08,223 ERROR Expected Elasticsearch version range > 1.0.0 < 3.0.0
2018-01-09 14:14:08,223 ERROR Incompatible with version 5.6.5 of Elasticsearch.
关于如何让策展人工作的任何想法,或者删除旧日志的其他想法?
TIA
如 version compatibility page 中所述,策展人 3.x 仅适用于 ES 1.x 和 ES 2.x.
您需要 curator 4 或 5 才能使用 Elasticsearch 5.x
curator 4或5的安装说明可见here
我有 ELK 5.6.5,我像往常一样尝试使用 curator 删除旧日志,但现在失败了。
curator --version
curator, version 3.4.1
我已经使用命令$ sudo apt-get install elasticsearch-curator
安装了curator
当运行 curator命令和输出如下图:
ELK-5:~$ curator delete indices --older-than 14 --time-unit days --timestring %Y.%m.%d --regex '^logstash-'
2018-01-09 14:14:08,220 INFO Job starting: delete indices
2018-01-09 14:14:08,223 ERROR Expected Elasticsearch version range > 1.0.0 < 3.0.0
2018-01-09 14:14:08,223 ERROR Incompatible with version 5.6.5 of Elasticsearch.
关于如何让策展人工作的任何想法,或者删除旧日志的其他想法? TIA
如 version compatibility page 中所述,策展人 3.x 仅适用于 ES 1.x 和 ES 2.x.
您需要 curator 4 或 5 才能使用 Elasticsearch 5.x
curator 4或5的安装说明可见here