View a markdown version of this page

Revenue analytics - Amazon WAF, Amazon Firewall Manager, Amazon Shield Advanced, and Amazon Shield network security director
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Introducing a new console experience for Amazon WAF

You can now use the updated experience to access Amazon WAF functionality anywhere in the console. For more details, see Working with the console.

Revenue analytics

Revenue dashboard

The revenue dashboard shows:

  • Revenue summary – Total revenue, verified vs unverified revenue breakdown, total settlements, and total 402 responses served (GetRevenueStatisticsSummary)

  • Top sources by revenue – Ranked AI bots by revenue amount, grouped by name, category, intent, or organization (GetRevenueStatistics with TOP_SOURCES_BY_REVENUE)

  • Top paths by revenue – Ranked content paths by revenue amount (GetRevenueStatistics with TOP_PATHS_BY_REVENUE)

  • Revenue over time – Time series charts at minutely, 5-minute, hourly, or daily intervals (GetRevenueStatisticsTimeSeries with DATE_HISTOGRAM)

  • Payment traffic over time – Payment attempt volume over time (GetRevenueStatisticsTimeSeries with PAYMENT_TRAFFIC)

  • Settlement records – Individual transaction details including status (SETTLED, PENDING, FAILED, SERVICE_ERROR, SKIPPED_ORIGIN_ERROR), payer address, amount, and blockchain transaction ID (ListSettlementRecords)

All revenue data can be filtered by source name, category, organization, and intent. By default, only real currency (REAL) transactions are shown – use the CurrencyMode filter to view test transactions.

Log fields

When you enable Amazon WAF logging, monetization events include the following additional fields:

Field Description

action

WAF action taken on request

monetizeVerifyResponse.verificationStatus

Verification result: VERIFIED, INSUFFICIENT_FUNDS, INVALID_PAYLOAD, INVALID_PAYMENT_REQUIREMENTS, SERVICE_ERROR

monetizeVerifyResponse.failureReason

Reason for verification failure (empty on success)

monetizeVerifyResponse.chainName

Blockchain chain used

monetizeVerifyResponse.network

Blockchain network identifier in CAIP-2 format

monetizeVerifyResponse.amount

Payment amount in atomic token units

monetizeVerifyResponse.currency

Payment currency (for example, USDC)

monetizeVerifyResponse.asset

Token contract address

monetizeVerifyResponse.payerAddress

Paying client's wallet address

monetizeVerifyResponse.idempotencyKey

x402 payment idempotency key for retry correlation

monetizeVerifyResponse.currencyMode

Currency mode: REAL or TEST

For more information, see Logging Amazon WAF protection pack (web ACL) traffic.

Metrics

Metrics are published in Amazon CloudWatch under namespace AWS/WAFV2.

Metric Name Description

MonetizeRequests

Emitted when the terminating rule has action Monetize

MonetizeRequestsFailedVerification

Emitted when terminating rule has action Monetize AND verification status is not VERIFIED

These metrics have the following dimensions: Region, Rule, WebACL, Resource, ResourceType, Device, Country.

For more information, see Amazon WAF metrics and dimensions.