I am using Elastic Search with a TTL for each index, and I have 1 index per day.
Now the problem is: I get my logs to expire , say 1 day(which I specify in the default.json) after the indexing, but what I want is the logs should expire relative to the timestamp of the logs(which I parse and replace the timestamp with) and not the time when the logs were indexed.
How do I do this? Need expert help please.
Thanks