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
A-to-Z List of Vegetables to Include or Exclude from Vegetable Stock or Broth - JennifersKitchen
Homemade Seasoning Mixes to Stock Your Pantry - The Creek Line House
Phcs Medishare Provider Portal
Pga Scores Cbs
Southside Grill Schuylkill Haven Pa
CKS is only available in the UK | NICE
Directions To 401 East Chestnut Street Louisville Kentucky
Think Of As Similar Crossword
Overzicht reviews voor 2Cheap.nl
Ktbs Payroll Login
Cool Math Games Bucketball
Pro Groom Prices – The Pet Centre
Pvschools Infinite Campus
Craigslist Farm And Garden Cincinnati Ohio
Otterbrook Goldens
Letter F Logos - 178+ Best Letter F Logo Ideas. Free Letter F Logo Maker. | 99designs
Haunted Mansion Showtimes Near Millstone 14
Is Grande Internet Down In My Area
Red Devil 9664D Snowblower Manual
U Break It Near Me
Vrachtwagens in Nederland kopen - gebruikt en nieuw - TrucksNL
Silive Obituary
Cbssports Rankings
8005607994
If you have a Keurig, then try these hot cocoa options
Stihl Dealer Albuquerque
What Individuals Need to Know When Raising Money for a Charitable Cause
Essence Healthcare Otc 2023 Catalog
Meridian Owners Forum
Strange World Showtimes Near Savoy 16
Mdt Bus Tracker 27
Wat is een hickmann?
Grave Digger Wynncraft
Gopher Hockey Forum
Mini-Mental State Examination (MMSE) – Strokengine
Core Relief Texas
In hunt for cartel hitmen, Texas Ranger's biggest obstacle may be the border itself (2024)
Does Circle K Sell Elf Bars
B.k. Miller Chitterlings
Top-ranked Wisconsin beats Marquette in front of record volleyball crowd at Fiserv Forum. What we learned.
AI-Powered Free Online Flashcards for Studying | Kahoot!
159R Bus Schedule Pdf
Suffix With Pent Crossword Clue
Grand Valley State University Library Hours
Pike County Buy Sale And Trade
Petra Gorski Obituary (2024)
20 Mr. Miyagi Inspirational Quotes For Wisdom
New Zero Turn Mowers For Sale Near Me
R Detroit Lions
Runelite Ground Markers
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.