采用elasticsearch-curator工具完成索引维护
按时间+索引前缀删除索引
首先确认安装了python环境
sudo easy_install pip
pip install elasticsearch_curator
curator_cli --version确认安装成功
最后执行
curator_cli --host 127.0.0.1 --port 9200 delete_indices --filter_list '[{"filtertype":"age","source":"creation_date","direction":"older","unit":"seconds","unit_count":13},{"filtertype":"pattern","kind":"prefix","value":"abc"}]'