侧边栏壁纸
博主头像
爱运维 博主等级

行动起来,活在当下

  • 累计撰写 197 篇文章
  • 累计创建 143 个标签
  • 累计收到 21 条评论

目 录CONTENT

文章目录

filebeat 6.0以后版本设置index名字

Administrator
2018-03-07 / 0 评论 / 0 点赞 / 1 阅读 / 0 字

坑坑坑,官网说明很不明显

https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-template.html

6.0以后版本具体设置在filebeat.yml如下

setup.template.name: "myname-01"        #顶格,和output对其
setup.template.pattern: "myname-01-*"   #顶格,和output对其
output.elasticsearch:
  hosts: ["192.168.10.63:9200"]
  index: "myname-01-%{+yyyy.MM.dd}"             #和hosts对其


0
ELK

评论区