Hi,
i want to imitate the old logstash behavior with creating daily indices and naming it per day, but only with ILM and deleting it after xx days.
I cant get it to work and i am not really fit with the new ilm settings.
can i do something like this?
output {
elasticsearch {
ilm_rollover_alias => "logstash-%{+YYYY.MM.dd}"
ilm_enabled => true
ilm_policy => "Delete_after_120_days"
ilm_write_alias => "logstash-"
ilm_pattern => "%{+YYYY.MM.dd}"
}
}
thanks for your help