-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Adding docs for Log Inbound filters #14584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
0a7d5c8
Log Inbound filters
Dhrumil-Sentry 88f60fd
Update docs/concepts/data-management/filtering/index.mdx
Dhrumil-Sentry 8d2a46f
Update docs/concepts/data-management/filtering/index.mdx
Dhrumil-Sentry 3603a6c
Minor edit to glob pattern
Dhrumil-Sentry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -110,6 +110,29 @@ Once applied, you can track the filtered events (numbers and cause) using the gr | |
|
|
||
|  | ||
|
|
||
| ## Logs Filtering | ||
|
|
||
| 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. | ||
|
|
||
| The following inbound filters **do** apply to Logs: | ||
|
|
||
| - **Log Message** - Filters logs based on the log message match | ||
| - **Releases** - Filters replays from specific release versions | ||
|
|
||
| The following inbound filters **do not** apply to Session Replays: | ||
Dhrumil-Sentry marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| - Error messages | ||
| - Browser extension errors | ||
| - Web crawler errors | ||
| - Legacy browser filters | ||
| - React hydration errors | ||
| - ChunkLoadErrors | ||
| - Health check transactions | ||
| - IP Address | ||
| - Request URLs | ||
| - User-Agents | ||
|
|
||
|
|
||
| ## How Custom Filtering Works | ||
|
|
||
| <Include name="feature-available-for-plan-trial-business.mdx" /> | ||
|
|
@@ -135,6 +158,14 @@ To filter releases, keep the following in mind: | |
| - Globbing rules apply and there is no special casing for SemVer. This allows for matching prefixes, such as `my-example@1.*`. | ||
| - The filter never applies to events without a release. | ||
|
|
||
| ### Log Message | ||
|
|
||
| To use inbound data filters for log messages, keep the following in mind: | ||
|
|
||
| - You can provide multiple patterns, one per line. The filter applies if any of the patterns match. | ||
| - 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. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Might be good to mention that log message uses glob patterns in the |
||
|
|
||
|
|
||
| ### Glob Matching | ||
|
|
||
| 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". | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.