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


(Ramesh Nagargoje) #1

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"
}