Forum Discussion
James Quinn
Jun 12, 2018Copper Contributor
How to query azure load balancer logs
I have an Azure Load Balancer, I have gone into the Load Balancer resource, Diagnostics logs and ticked 'Send to Log Analytics' and set to my Azure Log Analytics OMS Workspace. But when I go into th...
Anuraag Vodnala
Oct 02, 2018Copper Contributor
I have enabled Diagnostics for a public load balancer and able to see the logs of the probe health in App Insights and get email notifications by using Monitors.
Query :
AzureDiagnostics
| where Category == "LoadBalancerProbeHealthStatus" and TimeGenerated > ago(3d) and healthPercentage_d < 100
| project ResourceGroup, Resource, TimeGenerated, port_d, totalDipCount_d, dipDownCount_d, healthPercentage_d
(or)
AzureDiagnostics | where Category == 'LoadBalancerProbeHealthStatus' | where healthPercentage_d != (100)
Thanks,
Anuraag