filebeat writes ES to modify index

Begin to modify according to the network

output.elasticsearch.index: "test"

Start filebeat error, 406

Refer to the official website later: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-template.html

example:

output.elasticsearch.index: "customname-%{[beat.version]}-%{+yyyy.MM.dd}"
setup.template.name: "customname"
setup.template.pattern: "customname-*"

success

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325191550&siteId=291194637