I was looking for enabling diagnostics on WAF for ApplicationGatewayFirewallLog in ARM template, to send them to Log Analytics workspace, however I haven't find any reasonable solution. Could you please advise what is the best way of achieving this?
I was looking for enabling diagnostics on WAF for ApplicationGatewayFirewallLog in ARM template, to send them to Log Analytics workspace, however I haven't find any reasonable solution. Could you please advise what is the best way of achieving this?
I found a workaround for now - using CLI it's very simple following az monitor diagnostic-settings create CLI command, it's now ARM template however it's good enough as starting point (with workspace created by ARM template)
Attached file will help you to enable diagnostic logs on your Application gateway. The file enables all logs like access, performance and Firewall. It enables all metrics. You can edit based on your requirement.
Hope this was helpful. Please let us know in case of any additional questions or concerns.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well
4 people are following this question.