ip.country — Country
ISO 3166-1
In the console: Country
Matches the country code based on MaxMind GeoIP2 data. Use two-letter ISO 3166-1 alpha-2 country codes (e.g., TR, US, DE, CN).
Supported Operators
Section titled “Supported Operators”| Operator | Description |
|---|---|
== | Exact match |
!= | Not equal |
in | In list |
not_in | Not in list |
Examples
Section titled “Examples”IF ip.country == RUTHEN blockIF ip.country in RU, CN, KPTHEN blockIF ip.country not_in TR, DE, USTHEN captcha