Issue
I'm trying to set up an Inbound Filter, and I used the event's culprit value as a matcher. Will this work?
Applies To
Customers on the Business or Enterprise plans.
Resolution
No. Inbound filters don't read the culprit, the location shown under the issue title. The error message filters read only these fields:
The Error Messages row matches
{exception.type}: {exception.value}for each exception, or the formatted message of message events.The Error Message condition in a custom filter matches the exception type, the exception value, or the formatted message, each checked on its own.
The Error Type condition matches only the exception type.
A pattern has to match the whole text, so use wildcards rather than the exact message. To drop any ConnectionError, use *ConnectionError* in the Error Messages row, or error_type:ConnectionError in a custom filter. * can go anywhere in a pattern. For example, ConnectionError: *timeout* works in the Error Messages row.
To filter by where an error happened, such as a file, function or culprit, drop the event in the SDK side with beforeSend.
