How to find the latest updated/inserted documents from bucket?

In the project, we have bucket which are having more than 6 Million documents.

As per the reporting requirment, we need to load the documents which were updated or inserted in the last 24 hours.

There is any way from metadata we can identify the documents.

Regards
Dhaval.

You need to have your own field that track this and query