azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Incorrect query for Application Gateway Logs

Open joteromontes opened this issue 1 year ago • 2 comments

Hello Team,

In this section: https://learn.microsoft.com/en-us/azure/application-gateway/log-analytics#explore-data-with-examples

This will only work as long as the Diagnostic Settings are configured to send the data to one log analytics workspace and the option selected for this is Azure Diagnostics.

If one user configures the Log Analytics workspace to be resource specific these tabled will be different ○ AGWAccessLogs ○ AGWfirewallLogs ○ AGWPerformanceLogs

then the query mentioned is not accurate on this scenario. We have seen many support requests with this situation.

Can we please include the disclaimer under what Diagnostic Settings the query will work, as this will make the article helpful when learning how to configure the logging on the application gateway.

Thanks in Advance


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

joteromontes avatar Mar 21 '24 08:03 joteromontes

@joteromontes Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT avatar Mar 21 '24 16:03 Naveenommi-MSFT

@joteromontes I'm going to assign this to the document author so they can take a look at it accordingly.

@greg-lindsay Can you please check and add your comments on this doc update request as applicable.

SaibabaBalapur-MSFT avatar Mar 23 '24 10:03 SaibabaBalapur-MSFT

This is internal work item #240847 #please-close

greg-lindsay avatar Apr 04 '24 21:04 greg-lindsay

AGWfirewallLogs

How do you know the table names?

Israphel avatar Apr 09 '24 18:04 Israphel

@israphel, because i tried both options in my subscription, you can list the available tables from the logs section in the blade.

joteromontes avatar Apr 10 '24 14:04 joteromontes