Monitoring metrics for Azure Application Gateway Web Application Firewall metrics (2024)

  • Article

Azure Web Application Firewall (WAF) monitoring and logging are provided through logging and integration with Azure Monitor and Azure Monitor logs.

Azure Monitor

WAF with Application Gateway log is integrated with Azure Monitor. Azure Monitor allows you to track diagnostic information including WAF alerts and logs. You can configure WAF monitoring within the Application Gateway resource in the portal under the Diagnostics tab or through the Azure Monitor service directly.

Logs and diagnostics

WAF with Application Gateway provides detailed reporting on each threat it detects. Logging is integrated with Azure Diagnostics logs and alerts are recorded in a json format. These logs can be integrated with Azure Monitor logs.

Monitoring metrics for Azure Application Gateway Web Application Firewall metrics (1)

For more information about diagnostics logs, see Application Gateway WAF resource logs. If logging is enabled and a WAF rule is triggered, any matching patterns are logged in plain text to help you analyze and debug the WAF policy behavior. You can use exclusions to fine tune rules and exclude any data that you want to be excluded from the logs. For more information, see Web application firewall exclusion lists in Azure Application Gateway.

Application Gateway WAF v2 Metrics

New WAF metrics are only available for Core Rule Set 3.2 or greater, or with bot protection and geo-filtering. The metrics can be further filtered on the supported dimensions.

MetricsDescriptionDimension
WAF Total RequestsCount of successful requests that WAF engine has servedAction, Country/Region, Method, Mode, Policy Name, Policy Scope
WAF Managed Rule MatchesCount of total managed rule matchesAction, Country/Region, Mode, Policy Name, Policy Scope, Rule Group, Rule ID, Rule Set Name
WAF Custom Rule MatchesCount of custom rule matchesAction, Country/Region, Mode, Policy Name, Policy Scope, Rule Name
WAF Bot Protection Matches1Count of total bot protection rule matches that have been blocked or logged from malicious IP addresses. The IP addresses are sourced from the Microsoft Threat Intelligence feed.Action, Country/Region, Bot Type, Mode, Policy Name, Policy Scope
WAF JS Challenge Request CountCount the number of requests that match JS Challenge WAF rules.Action, Policy Name, Policy Scope, Rule2

1 Only Bot Manager Rule Set 0.1 will be displayed under “WAF Bot Protection Matches”. Requests matching Bot Manager Rule Set 1.0 will increase “WAF Total Requests” metrics, not “WAF Bot Protection Matches”.

2 Rule name for custom rules and Rule ID for the Bot Manager Rule Set.

For metrics supported by Application Gateway V2 SKU, see Application Gateway v2 metrics

Application Gateway WAF v1 Metrics

MetricsDescriptionDimension
Web Application Firewall Blocked Requests CountCount of total requests that have been blocked by the WAF engine
Web Application Firewall Blocked Requests DistributionTotal number of rules hit distribution for the blocked requests by Rule Group and Rule IDRule Group, Rule ID
Web Application Firewall Total Rule DistributionCount of total matched requests distribution by Rule Group and Rule IDRule Group, Rule ID

For metrics supported by Application Gateway V1 SKU, see Application Gateway v1 metrics

Access WAF Metrics in Azure portal

  1. From the Azure portal menu, select All Resources >> <your-Application-Gateway-profile>.

  2. Under Monitoring, select Metrics:

  3. In Metrics, select the metric to add:

    Monitoring metrics for Azure Application Gateway Web Application Firewall metrics (2)

  4. Select Add filter to add a filter:

    Monitoring metrics for Azure Application Gateway Web Application Firewall metrics (3)

  5. Select New chart to add a new chart

Configure Alerts in Azure portal

  1. Set up alerts on Azure Application Gateway by selecting Monitoring >> Alerts.

  2. Select New alert rule for metrics listed in Metrics section.

Alert will be charged based on Azure Monitor. For more information about alerts, see Azure Monitor alerts.

Next steps

Monitoring metrics for Azure Application Gateway Web Application Firewall metrics (2024)

FAQs

How to monitor Azure WAF? ›

Access WAF Metrics in Azure portal
  1. From the Azure portal menu, select All Resources >> <your-Application-Gateway-profile>.
  2. Under Monitoring, select Metrics:
  3. In Metrics, select the metric to add:
  4. Select Add filter to add a filter:
  5. Select New chart to add a new chart.
Jun 24, 2024

What is the monitoring tools using to monitor the application in Azure? ›

Azure Monitor is a comprehensive monitoring solution for collecting, analyzing, and responding to monitoring data from your cloud and on-premises environments. You can use Azure Monitor to maximize the availability and performance of your applications and services.

What is Azure Monitor metrics? ›

Azure Monitor Metrics is a feature of Azure Monitor that collects numeric data from monitored resources into a time-series database. Metrics are numerical values that are collected at regular intervals and describe some aspect of a system at a particular time.

What are the correct sources of monitoring data from Azure application tier? ›

Azure Monitor receives data from target resources like applications, operating systems, Azure resources, Azure subscriptions, and Azure tenants. The nature of the resource defines which data types are available. A data type will be a metric, a log, or both a metric and a log.

What is the difference between Azure WAF and application gateway? ›

The WAF provides protection at the web application layer. Azure Firewall acts as a central logging and control point, and it inspects traffic between the Application Gateway and the backend servers. The Application Gateway and Azure Firewall aren't sitting in parallel, but one after the other.

Which of the following will monitor web applications in Azure? ›

Azure Monitor Application Insights, a feature of Azure Monitor, excels in Application Performance Management (APM) for live web applications.

What is similar to CloudWatch in Azure? ›

Azure Monitor is a native monitoring tool within the Microsoft Azure cloud platform, similar to CloudWatch in AWS. And, like CloudWatch, Azure Monitor provides monitoring for AWS and other custom data sources, on-premises data centers, and across many Azure services by default.

How do I monitor application logs in Azure? ›

To enable application logging for Windows apps in the Azure portal, navigate to your app and select App Service logs. Select On for either Application Logging (Filesystem) or Application Logging (Blob), or both. The Filesystem option is for temporary debugging purposes, and turns itself off in 12 hours.

What is a monitoring metric? ›

A good monitoring system involves data collection, storage, aggregation, visualization, and alerting to identify issues and trends in your systems. Metrics are raw data collected from various sources like hardware, applications, or websites, providing information about resource usage, performance, or user behavior.

What is the difference between Azure monitor metrics and log analytics? ›

In conclusion, Azure Monitor and Log Analytics collectively offer a robust solution for monitoring Azure resources. While Azure Monitor provides a lot of features including aggregation of logs, real-time insights and performance metrics, Log Analytics allows advanced query capabilities and extensive log data analysis.

What is KPI in Azure? ›

A KPI (Key Performance Indicator), in a tabular model, is used to gauge performance of a value, defined by a Base measure, against a Target value, also defined by a measure or by an absolute value.

What are the different types of monitoring in Azure? ›

Different data types
  • Application monitoring data. ...
  • Azure resource monitoring data. ...
  • Azure tenant monitoring data. ...
  • Azure subscription monitoring data. ...
  • Virtual machine and cloud services data. ...
  • Application insight data. ...
  • Azure Active Directory reporting data. ...
  • Activity logs.

What is an Azure application gateway? ›

Azure Application Gateway is a web traffic load balancer that enables you to manage traffic to your web applications. Traditional load balancers operate at the transport layer (OSI Layer 4 - TCP and UDP) and route traffic based on source IP address and port, to a destination IP address and port.

What is application monitoring in Azure? ›

Azure Application Performance Monitoring (APM) refers to a set of tools and services provided by Microsoft Azure that allow developers and IT professionals to monitor and gain insights into the performance of their applications.

How do I monitor WAF logs? ›

Complete the following steps:
  1. Open the AWS WAF console.
  2. In the navigation pane, choose AWS WAF, and then choose Web ACLs.
  3. For Region, select the AWS Region that contains your web access control list (web ACL). ...
  4. Select your web ACL.
  5. In the navigation pane, choose Log Insights.
  6. Select the log groups that you want to query.

How to check if WAF is enabled in Azure? ›

Azure Monitor

This allows you to track diagnostic information, including WAF alerts and logs. You can access this capability on the Diagnostics tab in the Application Gateway resource in the portal or directly through Azure Monitor. To learn more about enabling logs, see Application Gateway diagnostics.

How do I check my WAF settings? ›

From the Main Settings tab, make sure:
  1. All domains from your application are on the Selected list.
  2. The Network Layer Protection and Web Application Firewall module switches are enabled.
  3. If you've made any changes, click Save.

Top Articles
Index Fund Investing And The Simple Path To Wealth - The Humble Penny
The 11 Best Stock Trading Apps in Canada in 2024
Po Box 7250 Sioux Falls Sd
Kansas City Kansas Public Schools Educational Audiology Externship in Kansas City, KS for KCK public Schools
Best Team In 2K23 Myteam
Citibank Branch Locations In Orlando Florida
The Ivy Los Angeles Dress Code
THE 10 BEST River Retreats for 2024/2025
Nyuonsite
Red Heeler Dog Breed Info, Pictures, Facts, Puppy Price & FAQs
Richmond Va Craigslist Com
The Murdoch succession drama kicks off this week. Here's everything you need to know
Leader Times Obituaries Liberal Ks
Elemental Showtimes Near Cinemark Flint West 14
Lehmann's Power Equipment
Td Small Business Banking Login
Busted Campbell County
Poe Str Stacking
Melendez Imports Menu
Dragger Games For The Brain
Best Boston Pizza Places
Pacman Video Guatemala
Hobby Lobby Hours Parkersburg Wv
Jamielizzz Leaked
CohhCarnage - Twitch Streamer Profile & Bio - TopTwitchStreamers
Eegees Gift Card Balance
Fairwinds Shred Fest 2023
How to Use Craigslist (with Pictures) - wikiHow
Pnc Bank Routing Number Cincinnati
Tributes flow for Soundgarden singer Chris Cornell as cause of death revealed
The Ride | Rotten Tomatoes
Tgh Imaging Powered By Tower Wesley Chapel Photos
Car Crash On 5 Freeway Today
Pill 44615 Orange
John F Slater Funeral Home Brentwood
Chatropolis Call Me
Craigslist Ludington Michigan
Tyler Perry Marriage Counselor Play 123Movies
Linkbuilding uitbesteden
Powerspec G512
Toomics - Die unendliche Welt der Comics online
Catchvideo Chrome Extension
Terrell Buckley Net Worth
Euro area international trade in goods surplus €21.2 bn
Verizon Forum Gac Family
Maurices Thanks Crossword Clue
Minecraft Enchantment Calculator - calculattor.com
Basic requirements | UC Admissions
Obituary Roger Schaefer Update 2020
Ihop Deliver
Latest Posts
Article information

Author: Arielle Torp

Last Updated:

Views: 5369

Rating: 4 / 5 (61 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Arielle Torp

Birthday: 1997-09-20

Address: 87313 Erdman Vista, North Dustinborough, WA 37563

Phone: +97216742823598

Job: Central Technology Officer

Hobby: Taekwondo, Macrame, Foreign language learning, Kite flying, Cooking, Skiing, Computer programming

Introduction: My name is Arielle Torp, I am a comfortable, kind, zealous, lovely, jolly, colorful, adventurous person who loves writing and wants to share my knowledge and understanding with you.