How to get backup/snapshop of elasticsearch index data daily based on start and end end time?

Hi,
I want to get backup of elasticsearch index data daily with time is given in query to fecth only those documents and save to local drive.

sample query needed as:
"query":
{
"fetchall documents"
"range":
"gte":"now-1d",
"lte":"now"
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.