The ip.src.metro_code field in the Ruleset Engine is now populated with DMA (Designated Market Area) data.
You can use this field to build rules that target traffic based on geographic market areas, enabling more granular location-based policies for your applications.
Field details
| Field | Type | Description |
|---|---|---|
ip.src.metro_code | String | null | The metro code (DMA) of the incoming request’s IP address. Returns the designated market area code for the client’s location. |
Example filter expression:
ip.src.metro_code eq "501"For more information, refer to the Fields reference.
Source: Cloudflare
Latest Posts
- Amazon ECS adds Amazon VPC Lattice support for blue/green, linear, and canary deployments

- MC1166852: Microsoft Viva Copilot Analytics Adds Agent Dashboard for Adoption and Credit Insights

- Access, Cloudflare One – New strict service token authentication setting for Access

- Rules – hash_in_range() is globally available for HTTP products







