You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/concepts/search/index.mdx
+31-4Lines changed: 31 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,10 @@ Search is available on several features throughout [sentry.io](https://sentry.io
12
12
## Query Syntax
13
13
14
14
<Alert>
15
-
You'll only need to use query syntax if you're using a Sentry [API](/api/). You'll get pre-populated suggestions once you start typing in your search terms when using the search bar anywhere in [Sentry.io](https://sentry.sentry.io/).
15
+
You'll only need to use query syntax if you're using a Sentry [API](/api/).
16
+
You'll get pre-populated suggestions once you start typing in your search
17
+
terms when using the search bar anywhere in
18
+
[Sentry.io](https://sentry.sentry.io/).
16
19
</Alert>
17
20
18
21
Search queries are constructed using a `key:value` pattern, with an optional raw search at the end. Each `key:value` pair is a `token` and the optional raw search is itself a single `token`. The `key:value` pair `tokens` are treated as issue or event properties. The optional raw search is treated as a single `token` and searches event titles/messages.
In the example above, the search query returns all Issues that are unresolved _and_ have not affected the user with the email address `[email protected]`.
117
120
118
-
#### Wildcards
121
+
#### Wildcard Character
119
122
120
-
Search supports the wildcard operator`*` as a placeholder for specific characters and strings.
123
+
Search supports the wildcard character`*` as a placeholder for specific characters and strings.
121
124
122
125
```
123
126
browser:"Safari 11*"
124
127
```
125
128
126
129
In the example above, the search query will match on `browser` values like `"Safari 11.0.2"`, `"Safari 11.0.3"`, etc.
127
130
128
-
You may also combine operators like so:
131
+
You may also combine the wildcard character `*` with other operators like so:
129
132
130
133
```
131
134
!message:"*Timeout"
132
135
```
133
136
134
137
In the above example, the search query returns results which do not have message values like `ConnectionTimeout`, `ReadTimeout`, etc.
135
138
139
+
#### Wildcard Operators
140
+
141
+
<Alert>
142
+
When using these operators, the base wildcard character `*` will be treated as
143
+
a literal character and not as a wildcard.
144
+
</Alert>
145
+
146
+
Sentry's API supports the use of the following wildcard operators when making requests to the API.
147
+
148
+
For ease of use, we recommend using the wildcard `*` character instead of these operators when manually querying the API.
149
+
150
+
```
151
+
# Note: the characters wrapping the operators are `\uf00d`.
Page filters allow you to narrow down the results shown on a page by selecting specific projects, environments, and date ranges. After you've set your filters, they'll persist as you navigate across pages in Sentry.
0 commit comments