@tihomir Thank you for the response. I didn’t enable Elasticsearch in my temporal instance. Will enable it and try out your approach.
I remember that the max retention period for executions in temporal is 30 days. So post 30 days, is the data going get removed from ES also ?