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
- Microsoft Purview eDiscovery | Direct export expiration change [MC1217141]
![Microsoft Purview eDiscovery | Direct export expiration change [MC1217141] 2 pexels frank cone 140140 3573555](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Data Security Posture Agent is now available in preview [MC1217155]
![Data Security Posture Agent is now available in preview [MC1217155] 3 glacier 1868192 1920](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Tenant setting update: Copilot capacity designation enabled by default [MC1217152]
![Tenant setting update: Copilot capacity designation enabled by default [MC1217152] 4 pexels jeswin 700971](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)
- Power Pages – Power Pages version 9.8.1.x Pre-Production Release [MC1217124]
![Power Pages - Power Pages version 9.8.1.x Pre-Production Release [MC1217124] 5 pexels foysal ahmed 2102283 6053289](data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==)

![Microsoft Purview eDiscovery | Direct export expiration change [MC1217141] 2 pexels frank cone 140140 3573555](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-frank-cone-140140-3573555-150x150.webp)
![Data Security Posture Agent is now available in preview [MC1217155] 3 glacier 1868192 1920](https://mwpro.co.uk/wp-content/uploads/2025/06/glacier-1868192_1920-150x150.webp)
![Tenant setting update: Copilot capacity designation enabled by default [MC1217152] 4 pexels jeswin 700971](https://mwpro.co.uk/wp-content/uploads/2024/08/pexels-jeswin-700971-150x150.webp)
![Power Pages - Power Pages version 9.8.1.x Pre-Production Release [MC1217124] 5 pexels foysal ahmed 2102283 6053289](https://mwpro.co.uk/wp-content/uploads/2025/06/pexels-foysal-ahmed-2102283-6053289-150x150.webp)
