Data aggregation in kibana

I want to extract data from an index based on contactDateTime property which is : "type": "date", format": "YYYY-MM-DD HH:mm:ss ZZ". What I want in the data is to filter the matching data between two specified time when we fix a day.
For example: If we specify date as 2020-06-03 and we want the data recorded between 3pm-5pm. Then the filter should return the relevant results.
Please help with the query part.
What two queries should be there to acheive this result?

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