In your case, you've set the rollover_alias to "actions-logs" in your index lifecycle policy. This means that you should have an index alias named "actions-logs" that points to your index.
However, from your message, it seems like "actions-logs" is the name of your index, not an alias. The rollover_alias should be an alias that points to the index, not the index name itself.
To resolve this issue, you need to create an alias named "actions-logs" that points to your index.
I missed "aliases" setting at kibana at the template settings.
So i use
index => "actions-logs-%{+YYYY.MM.dd}"
at my logstash.conf
then does rollover is mandatory action ?
I want to keep last 7 days and then remove indexes.
Thanks
However, if you want to keep the last 7 days of data and then remove indices, you can achieve this by setting up an Index Lifecycle Management (ILM) policy without the rollover action. Here's an example of how you can do this:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.