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