SOLVED

Azure Log Analytics - HTTRequest traffic on Azure App Gateway

%3CLINGO-SUB%20id%3D%22lingo-sub-1278659%22%20slang%3D%22en-US%22%3EAzure%20Log%20Analytics%20-%20HTTRequest%20traffic%20on%20Azure%20App%20Gateway%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278659%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20very%20new%20to%20Azure%20Log%20Analytics.%20We%20have%20Azure%20App%20Gateway%20set%20up%20and%20an%20application%20deployed%20which%20is%20using%20that%20App%20gateway.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20find%20the%20http%20traffic%20logs%20in%20Azure%20Logs%20for%20App%20gateway%20but%20I%20couldnt%20find%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EJas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1278659%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-1278885%22%20slang%3D%22en-US%22%3ERe%3A%20Azure%20Log%20Analytics%20-%20HTTRequest%20traffic%20on%20Azure%20App%20Gateway%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1278885%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F607981%22%20target%3D%22_blank%22%3E%40jassmakhija%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20you%20have%20told%20the%20Gateway%20to%20send%20its%20logs%20to%20Log%20Analytics%3F%3C%2FP%3E%0A%3CP%3EThen%20you%20should%20see%20the%20data%20in%20AzureDiagnostics%20table%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-cpp%22%3E%3CCODE%3EAzureDiagnostics%0A%7C%20where%20ResourceProvider%20%3D%3D%20%22MICROSOFT.NETWORK%22%20%0A%7C%20where%20ResourceType%20%3D%3D%20%22APPLICATIONGATEWAYS%22%20%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EYou%20may%20need%20to%20add%20a%20line%20(at%20the%20end)%2C%20like%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSTRONG%3E%7C%20search%20%22http%22%3C%2FSTRONG%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eto%20help%20filter%20into%20the%20results%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi,

 

I am very new to Azure Log Analytics. We have Azure App Gateway set up and an application deployed which is using that App gateway.

 

I am trying to find the http traffic logs in Azure Logs for App gateway but I couldnt find it.

 

Any help would be appreciated.

 

Thanks

Jas

2 Replies
Highlighted
Solution

@jassmakhija 

 

 

If you have told the Gateway to send its logs to Log Analytics?

Then you should see the data in AzureDiagnostics table

 

AzureDiagnostics
| where ResourceProvider == "MICROSOFT.NETWORK" 
| where ResourceType == "APPLICATIONGATEWAYS" 

 

You may need to add a line (at the end), like 

| search "http"

 

to help filter into the results?

Highlighted

Hi @Clive Watson ,

 

Thanks a lot for your answer. You are correct, App gateway is streaming logs to event hub.

 

Appreciate your help...

 

Thanks

Jas