ES定期清理索引
1、curator安装
下载上传rpm包
官方下载地址
选择 YUM repository,下载rpm安装包并上传到对应主机。
安装rpm包
[root@test-hunteron-elk ~]# ls
elasticsearch-curator-5.8.3-1.x86_64.rpm
[root@test-hunteron-elk ~]# rpm -ivh elasticsearch-curator-5.8.3-1.x86_64.rpm
默认的安装路径:/opt/elasticsearch-curator
[root@test-hunteron-elk ~]# cd /opt/elasticsearch-curator
[root@test-hunteron-elk elasticsearch-curator]# ll
total 9288
-rw-r--r-- 1 root root 263774 Jan 13 2021 cacert.pem
-rwxr-xr-x 1 root root 3075432 Jan 13 2021 curator
-rwxr-xr-x 1 root root 3075432 Jan 13 2021 curator_cli
-rwxr-xr-x 1 root root 3075432 Jan 13 2021 es_repo_mgr
drwxr-xr-x 38