How to fetch data from elasticsearch by an external reporting application .?

I have a large amount of data in my elasticsearch and i have to get the data of some fields for a specific time periods (based on the specific value of some fields) for a reporting application.Please provide me the best solution for this.