查看你本机索引kibana添加要用
curl http://127.0.0.1:9200/_cat/indices
删除索引数据(log-2020.03.25 索引名)
curl -XDELETE http://127.0.0.1:9200/log-2020.03.25

filebeat输出数据到elasticsearch 单路径或者多路径日志添加统一索引实例

setup.template.name: "log"
setup.template.pattern: "log-*"
output.elasticsearch:

hosts: ["localhost:9200"]
index: "log-%{+yyyy.MM.dd}"**

ELK官方速度缓慢,推荐腾讯ELK软件源!

https://mirrors.cloud.tencent.com/elasticstack/