I want all KQL query logs for application gateway

Mayank Jain 260 Reputation points
2023-06-07T09:48:40.3833333+00:00

I want all KQL query logs for application gateway. Please help me with these.

Azure Application Gateway
Azure Application Gateway
An Azure service that provides a platform-managed, scalable, and highly available application delivery controller as a service.
1,000 questions
Azure FastTrack
Azure FastTrack
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.FastTrack: This tag is no longer in use. Please use 'Azure Startups' instead.
75 questions
{count} votes

Accepted answer
  1. KapilAnanth-MSFT 39,211 Reputation points Microsoft Employee
    2023-06-07T10:09:03.4+00:00

    @Mayank Jain

    Welcome to the Microsoft Q&A Platform. Thank you for reaching out & I hope you are doing well.

    I am afraid I do not follow when you say "all KQL query logs for application gateway".

    There is two main logs, and all the other logs are derived from them.

    See : How to Enable logging through the Azure portal

    Once you have enabled them,

    For AccessLogs : You can use the Below Query to list the request response.

    AzureDiagnostics 
    | where ResourceProvider == "MICROSOFT.NETWORK" and Category == "ApplicationGatewayAccessLog"
    

    For Firewall Logs:

    AzureDiagnostics 
    | where ResourceProvider == "MICROSOFT.NETWORK" and Category == "ApplicationGatewayAccessLog"
    
    • This additionally also contains various scenarios such as
    1. Matched/Blocked requests by IP
    2. Matched/Blocked requests by URI
    3. Top matched rules
    4. Top five matched rule groups

    Kindly let us know if this helps or you need further assistance on this issue.

    Thanks,

    Kapil


    Please don’t forget to close the thread by clicking "Accept the answer" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful