Hello Vaishnav, Nagesh K,
welcome to this moderated Azure community forum.
The answer coming from @Adharsh Santhanam is correct if you check the portal. The EventHub is not able to 'replay' old data.
I add an extra answer because the IoT Hub provides a 'replay' of old data until the moment the data in the IoT Hub is expired via the TTL option.
Check out the Stream Analytics job ability to 'time travel in the past'.
You can stream the data coming out of the IoT Hub multiple times if you set the custom field.
This seems to be an EventHub feature (the underlying streaming functionality within the IoT Hub).
More information about this EventHub capability can be found in the Reading Events sample for the Azure.Messaging.EventHubs
package.
I'm not sure if this code sample will work for the IoT Hub event-hub compatible endpoint too.
If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.