Remove ip address from request

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?

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

1 Like

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

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