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

posted @ 2022-04-02 15:46  DevonL  阅读(191)  评论(0编辑  收藏  举报