In our application, there is a requirement where we have to retain data in KV Store for a month (i.e. 30 days) and delete data that is older than 30 days. Is there any way/configuration where we can delete the KV Store data older than 30 days? I don't want to use scheduled search for this.
Could anyone give suggestion?
As far as I know, there is no method for deleting individual records from the KV store using their keys, from the search bar, or automatically from a configuration somewhere.
You could use the
append=t) commands to bring in the entirety of the collection, search through it to keep what you want (likely some sort of
where on a time field), and output it back to the kv store.