Rules – Metro code field now available in Rules

Rules – Metro code field now available in Rules

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

FieldTypeDescription
ip.src.metro_codeString | nullThe 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

Pass It On
Leave a Comment

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *