简体   繁体   中英

Stream Log Analytics Heartbeat Metrics to Event Hub

Our Edge Devices provide regular Heartbeats which are available as Heartbeat records in Log Analytics in Azure (see https://docs.microsoft.com/en-us/azure/azure-monitor/insights/solution-agenthealth ).

We can query those metrics in the Log Analytics Workspace and get a heartbeat timestamp per computer.

However we need to have this information available also in our Backend application.

I don't think it's a good idea to use log analytics like a database and query it directly from our backend, so there should be a way to transfer this information to a place where we can easily query it.

Is there any way to forward those Heartbeat metrics to an Azure Function (probably via Event Hub) where we could store them for access from our Backend application?

In Azure Log Analytics, there is no way to forward those metrics to an Azure function or Eventhub. You should use query to fetch those data.

Maybe you should check in the Edge Devices side, if those metrics can be sent directly to eventhub.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM