Data restore with elasticdump

Hi, I am making use of elasticdump to restore data from one Elastic cluster to another Elastic cluster.
I have restored all the data of previous day till midnight with the help of snapshots and now need to restore all the data written after midnight to now with elasticdump. I have written below query for the same but it don't result in any data

elasticdump --type=data --input=https://elastic:<password>@<IP>:9200 --input-index=news --output=xyz.json --searchBody="{\"query\": {\"range\": {\"timestamp\": {\"gte\": \"now-1d\", \"lt\": \"now\"}}}}" --limit 1000

Sat, 11 Sep 2021 14:52:59 GMT | got 0 objects from source elasticsearch (offset: 0)
Sat, 11 Sep 2021 14:52:59 GMT | Total Writes: 0
Sat, 11 Sep 2021 14:52:59 GMT | dump complete

Can some one please let me know if the above query has any issues?

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