Heartbeat in dotnet core 3.1 services

i have configured logging in Elasticsearch, it is working perfectly. Now I am looking for statuses of my microservices that are running or which one is down. How can i figure out using Elasticsearch? Every microservices is running in a separate container. Our application is developed in Dotnet core 3.1

Whilst you can can configure Heartbeat to check specific services (as described here), as you are using containers for the microservices you may want to autodiscover these as documented here.