Hi,
We are planning to use ELK to capture application logs, i have a question can i delete data in elastic search after 4 months, If possible can you please suggest how to delete data in Elastic search?
Thanks,
veni
Hi,
We are planning to use ELK to capture application logs, i have a question can i delete data in elastic search after 4 months, If possible can you please suggest how to delete data in Elastic search?
Thanks,
veni
Depending on how you structure your data, let's say you have indexes created / segmented by date, it would be fairly easy to drop those indexes periodically.
This might be the most relevant to your use case:
Other resources:
https://www.elastic.co/guide/en/elasticsearch/guide/current/retiring-data.html
https://www.elastic.co/guide/en/elasticsearch/guide/current/index-aliases.html
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.