Skip to content

Commit 0a7d5c8

Browse files
Log Inbound filters
1 parent ff34007 commit 0a7d5c8

File tree

1 file changed

+31
-0
lines changed
  • docs/concepts/data-management/filtering

1 file changed

+31
-0
lines changed

docs/concepts/data-management/filtering/index.mdx

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,29 @@ Once applied, you can track the filtered events (numbers and cause) using the gr
110110

111111
![](./img/builtin-inbound-filters.png)
112112

113+
## Logs Filtering
114+
115+
Inbound data filters have partial support for [Logs](https://docs.sentry.io/product/explore/logs/). Only a subset of the available inbound filters apply to Session Replays.
116+
117+
The following inbound filters **do** apply to Logs:
118+
119+
- **Log Message** - Filters logs based on the log message match
120+
- **Releases** - Filters replays from specific release versions
121+
122+
The following inbound filters **do not** apply to Session Replays:
123+
124+
- Error messages
125+
- Browser extension errors
126+
- Web crawler errors
127+
- Legacy browser filters
128+
- React hydration errors
129+
- ChunkLoadErrors
130+
- Health check transactions
131+
- IP Address
132+
- Request URLs
133+
- User-Agents
134+
135+
113136
## How Custom Filtering Works
114137

115138
<Include name="feature-available-for-plan-trial-business.mdx" />
@@ -135,6 +158,14 @@ To filter releases, keep the following in mind:
135158
- Globbing rules apply and there is no special casing for SemVer. This allows for matching prefixes, such as `my-example@1.*`.
136159
- The filter never applies to events without a release.
137160

161+
### Log Message
162+
163+
To use inbound data filters for log messages, keep the following in mind:
164+
165+
- You can provide multiple patterns, one per line. The filter applies if any of the patterns match.
166+
- On logs, the filter matches the log message in the format. We do not recommend matching the full log message, and suggest you match with wildcards. For example, to match any "Connection timeout asbq33q", use the filter `*Connection timeout*`. The wildcard matcher can be used at the beginning or end of the string.
167+
168+
138169
### Glob Matching
139170

140171
The error messages and releases filters use glob patterns. Globs are case insensitive and allow you to specify wildcards to match variable input. For example, `*panic*` matches any error that contains the words "panic", "PANIC" or "PaNiC".

0 commit comments

Comments
 (0)