I am running into an issue where my netflow index template is called netflow, with index pattern netflow-*. When a new index is created, it is called netflow-date.
I created a lifecycle rollover policy for this index template, but when I add the alias netflow-00001, I get the following error from the lifecycle policy:
illegal_argument_exception: index name [netflow-2019.03.20] does not match pattern '^.*-\d+$'
I am trying to find out how to tell the system to name new index create with the netflow template to be named netflow-date-1 and also to make the aliases called netflow-date-1, so that the number increments each time the index is rolled over into an alias name.
Our netflow data is 200+GB per day generated from roughly 5TB of bandwidth
I found a file called /usr/share/logstash/modules/netflow/configuration/elasticsearch/netflow.json
I tried adding the alias to the end of the file, which doesn't seem to affect newly created or existing indecies. I also don't see anywhere in the file to modify the naming convention of the newly created index to be netflow-date-1