问题:更改 Beat 中关于 Index 的设置
报错:setup.template.name and setup.template.pattern have to be set if index name is modified
原因: 需要指定 setup.template.name 以及 setup.template.pattern 这两个配置后才能修改 Index
output.elasticsearch:
hosts: ["http://elasticsearch:9200"]
username: "elastic"
password: "xxx"
index: &#