filebeat7.0+设置自定义index
hosts: ["192.168.127.00:9200"]
index: "tomcat-access-%{+yyyy.MM.dd}"
#indices:
# - index: "tomcat-access-%{[agent.version]}-%{+yyyy.MM.dd}"
# when.contains:
# tags: "tomcat"
setup.template.name: "tomcat"
setup.template.pattern: "tomcat-*"
setup.template.overwrite: true
setup.template.enable: true
setup.ilm.enabled: false