Remove ip address from request


#1

Hi there, we’re currently trying to setup sentry and wonder if it is possible to remove all customer data from the request. Is there a way to remove e.g. the ip address for every request or - even better - replace it with an md5hashed version of it?


#2

Under project settings there is an option to “Prevent Storing of IP Addresses”. Does that help?


#3

Thanks that helped! I also figured out that I can change data like this:

$client->captureException($ex, ['user' => ['ip' => null]]);