I want to have packetbeat index created monthly.
In pcketbeat.yml I have chnaged configuration option as follow:
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
hosts: ["localhost:9200"]
output.elasticsearch.index: "packetbeat-%{+yyyy.MM}"
setup.template.name: "packetbeat"
setup.template.pattern: "packetbeat-*"
However, when I am starting packetbeat - it creates index daily as follow:
green open packetbeat-6.6.1-2019.02.27
Any idea what am I doing wrong?