摘要: 批量删 配置文件:action.destructive_requires_name true(不能批量删除) false(可以批量删) DATA=`date -d "2 week ago" +%Y.%m.%d` curl --user elastic:pass -XDELETE http://IP: 阅读全文
posted @ 2021-08-30 11:44 风儿飘 阅读(3900) 评论(0) 推荐(0) 编辑
摘要: 添加index patterns; test 是索引收集的日志处理后的列表 while read line;docurl --user elastic:xxxxx -X POST IP:5601/api/saved_objects/index-pattern/${line} -H 'kbn-xsrf 阅读全文
posted @ 2021-08-30 11:41 风儿飘 阅读(986) 评论(0) 推荐(0) 编辑