#-------------------------- Elasticsearch output ------------------------------
setup.template.name: "xx-test"
setup.template.pattern: "xx-test-*"
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["10.3.248.132:8092"]
index: xx-test-%{+yyyy.MM.dd}Filebeat 6.0 把日志直接输入到ES中如何自定义index
原文:http://blog.51cto.com/seekerwolf/2158916