Property Filter

Property Filter

This plugin will set all configured properties to null inside an ingested event.

Configuration

OptionDescription
Properties to filter out
Type: string
Required: True

A comma-separated list of properties to filter out (e.g. $ip, $current_url)

Using our REST API you can create this transformation like so:

Terminal
# Create a new destination
curl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \
--data '{
"type": "transformation",
"name": "Property Filter",
"inputs": {
"properties": {
"value": ""
}
},
"enabled": true,
"template_id": "plugin-property-filter-plugin"
}'