Is it possible to delete logs from elasticsearch index which are older than 3 months?
NOTE: I don't want to create daily based or monthly based index and but want only one index and want to delete 3-month-old data inside that index based on timestamps.
Does anybody have any idea how to delete data after three months automatically?
As long as you know this is really inefficient and absolutely not what is recommended by elastic, you can do whatever you want.
I just want to make sure you know what you are doing.
Does anybody have any idea how to delete data after three months?
Not sure I understood the question.
To manage time series data with a retention period the solution is to use time based indices. But you said that you don't want 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.