Sep 06 2018
- last edited on
Apr 07 2022
I have all my Application Gateway logs going to a Log Analytics work space. I want to query this data to show any URIs with a specific key word. Can someone point me in the right direction of how to query this?
Sep 07 2018 07:00 AMSolution
You have a few logs of types that are logged in Log Analytics by Application Gateways. Let's assume you are talking about access logs.
Example query for that would be
AzureDiagnostics | where Category == "ApplicationGatewayAccessLog" | where requestUri_s contains "myadmin"
you can replace 'myadmin" with something else. Here is the documentation on contains and the other string operators: