Hi all!!
I have read the documentation about the lifecicle but I have a simple question about it. Is possible delete the documents after X days?
I don't want to keep the docs because they are only to debug.
Thanks for all!
Hi all!!
I have read the documentation about the lifecicle but I have a simple question about it. Is possible delete the documents after X days?
I don't want to keep the docs because they are only to debug.
Thanks for all!
Hi @Kirtash. Thanks for your question!
There is no way to automatically remove documents from an index within elasticsearch. The closest thing would be a lifetime policy that:
Another option would be to trigger a delete query using an external scheduler, like a cronjob.
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.