How to implement elastic search within two micro service

I am implementing reporting service in my micro-service project . i am using asp.net core web API and docker to compile all service. i need to connect to individual service to generate the report. and the data should be update time to time. How can i do this please give me some idea.