IP anonymization enrichment - ClaraVista-IT/snowplow GitHub Wiki
HOME > SNOWPLOW SETUP GUIDE > Step 3: Setting up Enrich > Configurable enricments > IP anonymization enrichment
JSON Schema iglu:com.snowplowanalytics.snowplow/anon_ip/jsonschema/1-0-0
Compatibility 0.9.6+
The IP anonymization enrichment lets you anonymize the IP addresses found in the user_ipaddress
field by replacing a certain number of octets with "x"s. For example, anonymizing one octet would change the address 255.255.255.255
to 255.255.255.x
, and anonymizing three octets would change it to 255.x.x.x
.
{
"schema": "iglu:com.snowplowanalytics.snowplow/anon_ip/jsonschema/1-0-0",
"data": {
"name": "anon_ip",
"vendor": "com.snowplowanalytics.snowplow",
"enabled": true,
"parameters": {
"anonOctets": 2
}
}
}
The anonOctets
field is set to two, so the last two octets of each IP address will be obscured.