Issue
We are encountering an issue where a single user is repeatedly triggering the same error report in a continuous loop. How can I prevent this user's IP address from sending events?
Applies To
All customers
Resolution
On the server side, you can implement Inbound IP Filters, where you'll need to manually input an IP address that you want to be filtered out. You can find this setting in [Project Settings] -> Inbound Filters -> IP Addresses.
On a Trial, Business or Enterprise plan, you can also combine the IP address with other conditions. Under Custom Inbound Filters, click "Add Filter" and add an "IP Address" condition (a single address or a CIDR range, for example 203.0.113.7 or 10.0.0.0/8) together with, for example, an "Error Message" condition, so only that error from that IP address is dropped.
Inbound filters can't count events. If you need a more custom solution, you can use SDK Filtering (and more specifically beforeSend). With this, you can set up logic that will count the instances of a certain IP address and drop the event after the IP address has been spotted multiple times.
