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: src/docs/product/issues/index.mdx
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ From the **Issues** page, you can begin to triage. The page is organized into ta
28
28
- All Unresolved (`is:unresolved`): All unresolved issues, including issues that need review.
29
29
- For Review (`is:unresolved is:for_review`): Issues that need to be reviewed; for-review issues are a sub-set of all unresolved issues.
30
30
- Ignored (`is:ignored`): All ignored issues.
31
-
- Saved Searches: Select from a set of [premade](/product/sentry-basics/search/#premade-searches) and custom [saved searches](/product/sentry-basics/search/#organization-wide-saved-searches). The name of the tab changes based on your selection.
31
+
- Saved Searches: Select from a set of [recommended](/product/sentry-basics/search/saved-searches/#recommended-searches) and [custom saved searches](/product/sentry-basics/search/saved-searches/#organization-wide-saved-searches). The name of the tab changes based on your selection.
32
32
33
33
Learn more about triaging issues and their different states in [Issue States and Triage](/product/issues/states-triage/).
Copy file name to clipboardExpand all lines: src/docs/product/sentry-basics/search/index.mdx
+6-134Lines changed: 6 additions & 134 deletions
Original file line number
Diff line number
Diff line change
@@ -5,15 +5,14 @@ redirect_from:
5
5
- /workflow/search/
6
6
- /product/search/
7
7
- /learn/search/
8
-
keywords: ["saved search"]
9
-
description: "Learn more about Search, which is available on several major Sentry views: Issues, Events, and Releases."
8
+
description: "Learn more about Search, which is available in several Sentry features."
10
9
---
11
10
12
-
Search is available on several major [sentry.io](https://sentry.io)views: Issues, Events, and Releases.
11
+
Search is available on several features throughout [sentry.io](https://sentry.io)such as **Issues**and **Releases**.
13
12
14
13
<Alerttitle="Looking for information on searching and Discover?"level="info">
15
14
16
-
Discover is Sentry's powerful query builder for aggregating raw event data and has its own unique syntax not covered here. For more information, see [full Discover documentation](/product/discover-queries/).
15
+
**Discover** is Sentry's powerful query builder for aggregating raw event data and has its own unique syntax not covered here. For more information, see [full Discover documentation](/product/discover-queries/).
17
16
18
17
</Alert>
19
18
@@ -34,7 +33,7 @@ In the example above, there are three keys (`is:`, `user.username:`, `server:`),
34
33
-`server:web-8`
35
34
-`example error`
36
35
37
-
The tokens `is:resolved` and `user.username:"Jane Doe"` are standard search tokens because both use reserved keywords. See [Issue Properties](#issue-properties) and [Event Properties](#event-properties) for appropriate keyword usage. The token `server:web-8` is pointing to a custom tag sent by the Sentry SDK. See [Custom Tags](#custom-tags) for more information on how to set tags.
36
+
The tokens `is:resolved` and `user.username:"Jane Doe"` are standard search tokens because both use reserved keywords. See [Issue Properties](/product/sentry-basics/search/searchable-properties/#issue-properties) and [Event Properties](/product/sentry-basics/search/searchable-properties/#event-properties) for appropriate keyword usage. The token `server:web-8` is pointing to a custom tag sent by the Sentry SDK. See [Custom Tags](/product/sentry-basics/search/searchable-properties/#custom-tags) for more information on how to set tags.
38
37
39
38
The token `example error` is utilizing the optional raw search and is passed as part of the issue search query (which uses a CONTAINS match similar to SQL). When using the optional raw search, you can provide _one_ string, and the query uses that entire string.
40
39
@@ -128,133 +127,6 @@ You may also combine operators like so:
128
127
129
128
In the above example, the search query returns results which do not have message values like `ConnectionTimeout`, `ReadTimeout`, etc.
130
129
131
-
## Search Properties
130
+
## Learn more
132
131
133
-
In the examples above, we've highlighted a couple of example properties you can search on: `is`, `user`, `server`, `browser`, etc. Below is a canonical list of all available search terms.
134
-
135
-
### Issue Properties
136
-
137
-
Issues are an aggregate of one or more events. Searchable properties include workflow status, assignment, aggregate counts, and age.
138
-
139
-
Below is a list of Issue-level tokens reserved and known to Sentry:
140
-
141
-
| Token | Description |
142
-
|--------------------------|-------------|
143
-
| age | Restrict results to issues created since `age`. The syntax is similar to the Unix `find` command. Supported suffixes: `m -> minutes`, `h -> hours`, `d -> days``w -> weeks`|
144
-
| age:-24h | Return issues that are new in the last 24 hours. |
145
-
| age:+12h | Return issues older than 12 hours. |
146
-
| age:+12h age:-24h | Return issues created between 12 and 24 hours ago. |
147
-
| assigned | Filter on the user which the issue is assigned to. Values can be a user ID (your email address), `me` for yourself, `me_or_none` for yourself or no assignee, or `#team-name`. |
148
-
| assigned_or_suggested | Filter on the user or team to which the issue is assigned or suggested to be assigned. Suggested assignees are determined by matching [ownership rules](/product/error-monitoring/issue-owners/) and [suspect commits](/product/releases/suspect-commits/). Values can be a user ID (your email address), `me` for yourself, `me_or_none` for yourself or no assignee/suggestions, or `#team-name`. |
149
-
| bookmarks | Filter on the user which the issue is bookmarked by. Values can be your user ID (your email address) or `me` for yourself. |
150
-
| first-release | Restrict results to issues first seen within the given release. Exact match on the version of a release, or `first-release:latest` to pick the most recent release. |
151
-
| has | Restrict results to issues which have _any_ value for a tag. |
152
-
| has:user | Restrict results to issues which have a user value for a tag. |
153
-
| is | Filter on various properties of an issue. |
154
-
| is:unresolved<br /> is:resolved<br /> is:ignored | Filter on the state of an issue. |
155
-
| is:assigned<br /> is:unassigned | Return issues based on whether they are are assigned or not. |
156
-
| is:linked<br /> is:unlinked | Return issues based on whether they are linked (to an external issue tracker) or not. |
157
-
| lastSeen | Restrict results to issues that were last seen since or until a given point in time. Usage is similar to the `age` token (see above). |
158
-
| lastSeen:+30d | Return issues last seen 30 days ago or more. |
159
-
| lastSeen:-2d | Return issues last seen within the last two days. |
160
-
| timesSeen | Restrict results to issues that have been seen exactly, at least, or at most some number of times.<br /><br /> An exact match token: `timesSeen:10`.<br /><br /> Upper or lower bounds tokens: `timesSeen:>10`, `timesSeen:>=10`, `timesSeen:<10`, `timesSeen:<=10`|
161
-
162
-
163
-
164
-
### Event Properties
165
-
166
-
Events are the underlying event data captured using Sentry SDKs (read: errors and exceptions).
167
-
168
-
When searching on Event properties within the Issues search, Issue Search will return any Issue that has _one or more events_ matching the supplied event filters.
169
-
170
-
Below is a list of Event-level tokens reserved and known to Sentry:
171
-
172
-
| Token | Description |
173
-
|---------------------------| ----------- |
174
-
| location | Restrict results to the events with a matching location. |
175
-
| message | Restrict results to events with a matching message. |
176
-
| environment | Restrict results to events tagged with the matching environment. |
177
-
| release | Restrict results to events tagged with the matching release. You can create a token with an exact match on the version of a release, or `release:latest` to pick the most recent release. |
178
-
| transaction | Restrict results to events tagged with a URL template/job name. |
179
-
| geo.country_code<br /> geo.region geo.city | Restrict results to events triggered by a geographic area. |
180
-
| http.method<br /> http.referer<br /> http.url | Restrict results based on the HTTP request context. |
181
-
| user.id user.email<br /> user.username<br /> user.ip | Restrict results to events affecting a given user. |
182
-
| event.timestamp | Restrict results to events that occurred at the given timestamp. This filter can be passed twice to provide a range.<br /><br /> Events occurred on January 2, 2016: `event.timestamp:2016-01-02`<br /><br /> Events between 01:00 and 02:00 (UTC): `event.timestamp:>=2016-01-02T01:00:00 event.timestamp:<2016-01-02T02:00:00`<br /><br /> The following comparative operators are available: greater than (`>`), greater than or equal (`>=`), less than (`<`), less than or equal (`<=`) |
183
-
| device.arch<br /> device.battery_level<br /> device.brand<br /> device.charging<br /> device.locale<br /> device.model_id<br /> device.name<br /> device.online<br /> device.orientation<br /> device.simulator<br /> device.uuid | Restrict results to events tagged with a specific device attribute. |
184
-
| os.build<br /> os.kernel_version | Restrict results to events tagged with a specific operating system property. |
185
-
| stack.abs_path<br /> stack.filename<br /> stack.function<br /> stack.module<br /> stack.package<br /> stack.stack_level<br /> stack.lineno | Restrict results to events with a matching stack property.<br /><br /> For Native SDK users, `stack.package` is the Native equivalent for `stack.module`. For more details about enhancing search, see the full documentation on [adding context and customizing tags](/platforms/native/enriching-events/). |
186
-
| error.type<br /> error.value<br /> error.mechanism<br /> error.handled | Restrict results to events with a matching error property. |
187
-
188
-
### Custom Tags
189
-
190
-
Additionally, you can use any tag you’ve specified as a token. Tags are various key/value pairs that get assigned to an event, and you can use them later as a breakdown or quick access to finding related events.
191
-
192
-
Most SDKs generally support configuring tags by configuring the scope:
- The version of your platform (for example, iOS 5.0)
200
-
- The user’s language
201
-
202
-
## Premade Searches
203
-
204
-
Premade searches are common search terms that we think you're likely to use. The premade searches are listed under "Recommended Searches" in the "Saved Searches" dropdown, and they're listed in order of when you've most recently used them.
205
-
206
-

207
-
208
-
## Pinned Searches
209
-
210
-
You can pin a search, and it will become the default view you see on the **Issues** page. The pinned search is only visible to you and is relevant across your projects.
211
-
212
-
1. Type a search into the search bar.
213
-
214
-

215
-
216
-
2. Click the pin icon next to that search.
217
-
218
-

219
-
220
-
3. Once pinned, Sentry will add the search to the "Saved Searches" dropdown. The search label in the text will read, "My Pinned Search".
221
-
222
-

223
-
224
-
### Changing a Pinned Search
225
-
226
-
To change your pinned search, do the following:
227
-
228
-
1. Select your pinned search. Un-click the pin icon. Your default search will return to `is:unresolved`.
229
-
230
-
2. Run another search. Click the pin icon. The query listed as "My Pinned Search" will now be the new pinned query, instead of the original one.
231
-
232
-
### Pinning a Premade Search
233
-
234
-
You can pin a premade search the same way you pin any other search. When you've selected a premade search, and the premade search query populates the search bar, pin it.
235
-
236
-
## Organization Wide Saved Searches
237
-
238
-
### Creating an org-wide saved search
239
-
240
-
Owners and managers can create a persistent view for their organization by creating custom saved searched. These saved searches will not be associated with a specific project, but with all projects (and users) across the org.
241
-
242
-
1. Type a search into the search bar, click the actions menu (three dots). Select "Create Saved Search".
243
-
244
-

245
-
246
-
2. In the modal that opens, name the search and set the sort order for the issues list. You can also update the query here. Then click "Save".
247
-
248
-

249
-
250
-
3. The view will then become part of the "Saved Search" dropdown.
251
-
252
-

253
-
254
-
### Deleting an org-wide saved search
255
-
256
-
When you hover over a custom saved search, you can see a trash icon next to the name of the search. Click the trash icon to remove the custom saved search from the dropdown.
257
-
258
-
This action is only available for organization owners or managers.
description: "Learn more about recommended, pinned, and saved searches."
6
+
---
7
+
8
+
In the "Saved Searches" tab of **Issues**, you can access recommended searches, pin searches that you find most useful, and take advantage of organization-wide saved searches.
9
+
10
+
## Recommended Searches
11
+
12
+
Recommended searches are common search terms that we think you're likely to use. These premade searches are listed under "Recommended Searches" in the "Saved Searches" dropdown, and they're listed in order of when you've most recently used them.
13
+
14
+

15
+
16
+
## Pinned Searches
17
+
18
+
You can pin a search, and it will become the default view you see on the **Issues** page. The pinned search is visible only to you and is relevant across your projects.
19
+
20
+
1. Type search terms into the search bar.
21
+
22
+

23
+
24
+
2. Click the pin icon next to that search.
25
+
26
+

27
+
28
+
3. Once pinned, Sentry will add the search to the "Saved Searches" dropdown. The search label in the text will read, "My Pinned Search".
29
+
30
+

31
+
32
+
### Changing a Pinned Search
33
+
34
+
To change your pinned search:
35
+
36
+
1. Select your pinned search. Un-click the pin icon. Your default search will return to `is:unresolved`.
37
+
38
+
2. Run another search. Click the pin icon. The query listed as "My Pinned Search" will now be the new pinned query, replacing the original one.
39
+
40
+
### Pinning a Recommended Search
41
+
42
+
You can pin a recommended search the same way you pin any other search. When you've selected a recommended search, and the recommended search query populates the search bar, pin it.
43
+
44
+
## Organization Wide Saved Searches
45
+
46
+
### Creating an Organization-Wide Saved Search
47
+
48
+
Owners and managers can create a persistent view for their organization by creating custom saved searched. These saved searches are not associated with a specific project, but with all projects (and users) across the organization.
49
+
50
+
1. Type a search into the search bar, click the actions menu (three dots). Select "Create Saved Search".
51
+
52
+

53
+
54
+
2. In the modal that opens, name the search and set the sort order for the issues list. You can also update the query here. Then click "Save".
55
+
56
+

57
+
58
+
3. The view will then become part of the "Saved Search" dropdown.
59
+
60
+

61
+
62
+
### Deleting an Organization-Wide Saved Search
63
+
64
+
<Note>
65
+
66
+
This action is only available for organization owners or managers.
67
+
68
+
</Note>
69
+
70
+
When you hover over a custom saved search, the trash icon displays next to the name of the search. Click the trash icon to remove the custom saved search from the dropdown.
0 commit comments