I have a custom logstash index named asa-%date%. I have attempted to apply an ILM policy to it, but I get an error when it attempts to apply. According to an elastic team member in another thread this is because ILM expects the index name to have a versioning number appended to the end. Such as asa-2020.08.25-00001
How do I apply the versioning "field" option to my custom name? The index for beats out of the box seems to apply this but the documentation simply states:
Optional index name. The default is "filebeat" plus date
and generates [filebeat-]YYYY.MM.DD keys.
Where and how does the versioning number get applied to the index name?