Home

How to query azure load balancer logs

%3CLINGO-SUB%20id%3D%22lingo-sub-135519%22%20slang%3D%22en-US%22%3EHow%20to%20query%20azure%20load%20balancer%20logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-135519%22%20slang%3D%22en-US%22%3E%3CP%3EI%20want%20to%20query%20logs%2C%20metrics%2C%20etc.%20on%20an%20Azure%20Load%20balancer%20resource.%26nbsp%3B%20I%20followed%20the%20directions%20in%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fload-balancer%2Fload-balancer-monitor-log.%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fload-balancer%2Fload-balancer-monitor-log.%26nbsp%3B%3C%2FA%3E%20Except%2C%20I%20configured%20the%20Diagnostics%20settings%20to%20%22Send%20to%20Log%20Analytics%22.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hit%20url%20endpoints%20on%20the%20Load%20balancer%20in%20an%20effort%20to%20generate%20logs%20and%20metric%20activity.%26nbsp%3B%20Then%2C%20I%20navigated%20to%20Azure%20Log%20Analytics%20tool.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhich%20solution(s)%20and%20tables%20contain%20url%20activity%20and%20metric%20activity%20logs%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-135519%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAzure%20Log%20Analytics%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-215239%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20query%20azure%20load%20balancer%20logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-215239%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Andy%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20data%20I%20was%20looking%20for%20appeared%20in%20Log%20Analytics%20and%20in%20the%20storage%20account%20I%20specified.%20I%20noticed%20that%20the%20next%20day%2C%20so%20there%20was%20obviously%20a%20delay%20in%20it%20appearing%20but%20I%20haven't%20looked%20at%20exact%20times.%20I've%20also%20not%20checked%20how%20old%20the%20data%20is%20-%20i.e.%20is%20it%20now%20up%20to%20date%2C%20or%20is%20it%20still%20massively%20delayed.%20If%20it%20is%20delayed%20then%20it's%20probably%20not%20much%20use%20%3B)%3C%2Fimg%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20basically%2C%20give%20it%20a%20day...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPaul%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-214864%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20query%20azure%20load%20balancer%20logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-214864%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20found%20the%20same%20issue%20this%20morning.%20You%20had%20any%20joy%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-214120%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20query%20azure%20load%20balancer%20logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-214120%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhat%20should%20we%20try%20if%20Load%20Balancer%20logs%20do%20not%20appear%20in%20Log%20Analytics%3F%20I%20have%20two%20Basic%20SKU%20load%20balancers%20configured%20to%20send%26nbsp%3B%3CSPAN%3ELoadBalancerProbeHealthStatus%20and%20All%20Metrics%20to%20both%20a%20storage%20account%20and%20a%20Log%20Analytics%20workspace.%20Nothing%20appears%20in%20either%20of%20them.%20Do%20I%20have%20to%20wait%20some%20period%20of%20time%20for%20it%20to%20appear%3F%20It's%20been%2030%20minutes%20so%20far.%20The%20workspace%20contains%20other%20events%20like%20VM%20heartbeats%20etc.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThanks%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EPaul%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-135731%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20query%20azure%20load%20balancer%20logs%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-135731%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThese%20logs%20should%20appear%20in%20AzureDiagnostics%20type.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%2C%3CBR%20%2F%3EMeir%3C%2FLINGO-BODY%3E
Bill Qualls
Occasional Visitor

I want to query logs, metrics, etc. on an Azure Load balancer resource.  I followed the directions in https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-monitor-log.  Except, I configured the Diagnostics settings to "Send to Log Analytics".

 

I hit url endpoints on the Load balancer in an effort to generate logs and metric activity.  Then, I navigated to Azure Log Analytics tool.

 

Which solution(s) and tables contain url activity and metric activity logs?

 

4 Replies
Hi,

These logs should appear in AzureDiagnostics type.

Thanks,
Meir

Hi,

 

What should we try if Load Balancer logs do not appear in Log Analytics? I have two Basic SKU load balancers configured to send LoadBalancerProbeHealthStatus and All Metrics to both a storage account and a Log Analytics workspace. Nothing appears in either of them. Do I have to wait some period of time for it to appear? It's been 30 minutes so far. The workspace contains other events like VM heartbeats etc.

 

 

Thanks,

Paul

 

I've found the same issue this morning. You had any joy?

Hi Andy,

 

The data I was looking for appeared in Log Analytics and in the storage account I specified. I noticed that the next day, so there was obviously a delay in it appearing but I haven't looked at exact times. I've also not checked how old the data is - i.e. is it now up to date, or is it still massively delayed. If it is delayed then it's probably not much use ;)

 

So basically, give it a day...

 

Paul