Set the time in elasticsearch to erase data

Can someone help me to set time in elasticsearch to erase data automatically. Where should I make the changes in order to do so?

Read the doc about timed base data. This is the way to go.

And then use Elasticsearch Curator - https://www.elastic.co/guide/en/elasticsearch/client/curator/current/index.html

1 Like