From 0a3968e278126a6cdfa2c38871e578a2436ea05c Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Thu, 11 Sep 2025 15:55:07 -0300 Subject: [PATCH 1/5] :art: Apply prettier --- docs/concepts/search/index.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index d5337c04a6e91..3a885c0eb336d 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -9,7 +9,10 @@ Search is available on several features throughout [sentry.io](https://sentry.io ## Query Syntax -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/). + 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/). 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. From 400e1cf5f9d5946c6e923192a2ffb16098e042ce Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Thu, 11 Sep 2025 15:55:37 -0300 Subject: [PATCH 2/5] :speech_balloon: Change asterisk wildcard from opreator to character --- docs/concepts/search/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index 3a885c0eb336d..c8a3f100baad0 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -117,7 +117,7 @@ In the example above, the search query returns all Issues that are unresolved _a #### Wildcards -Search supports the wildcard operator `*` as a placeholder for specific characters and strings. +Search supports the wildcard character `*` as a placeholder for specific characters and strings. ``` browser:"Safari 11*" @@ -125,7 +125,7 @@ browser:"Safari 11*" In the example above, the search query will match on `browser` values like `"Safari 11.0.2"`, `"Safari 11.0.3"`, etc. -You may also combine operators like so: +You may also combine the wildcard character `*` with other operators like so: ``` !message:"*Timeout" From adc040a8913fefc836a0f476a07813c36ed22708 Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Thu, 11 Sep 2025 15:55:56 -0300 Subject: [PATCH 3/5] :sparkles: Add in new section regarding wildcard operators --- docs/concepts/search/index.mdx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index c8a3f100baad0..e05e5dc00b82c 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -133,6 +133,28 @@ You may also combine the wildcard character `*` with other operators like so: In the above example, the search query returns results which do not have message values like `ConnectionTimeout`, `ReadTimeout`, etc. +#### Wildcard Operators + + + When using these operators, the base wildcard character `*` will be treated as + a literal character and not as a wildcard. + + +Sentry's API supports the use of the following wildcard operators when making requests to the API. + +For ease of use, we recommend using the wildcard `*` character instead of these operators when manually querying the API. + +``` +# contains, and does not contain +browser:containschrome, !browser:containsfire + +# starts with, and does not start with +browser:starts withchrome, !browser:starts withchrome + +# ends with, and does not end with +browser:ends withchrome, !browser:ends withfire +``` + ## Page Filters 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. From 137833496f23cf8a8a2a2e05f193b5afcc18643d Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Mon, 15 Sep 2025 09:51:42 -0300 Subject: [PATCH 4/5] :speech_balloon: Update Wildcards to Wildcard Character --- docs/concepts/search/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index e05e5dc00b82c..237fda470d17a 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -115,7 +115,7 @@ is:unresolved !user.email:example@customer.com In the example above, the search query returns all Issues that are unresolved _and_ have not affected the user with the email address `example@customer.com`. -#### Wildcards +#### Wildcard Character Search supports the wildcard character `*` as a placeholder for specific characters and strings. From bbd0496746a738771028a95786fa03ecd846030e Mon Sep 17 00:00:00 2001 From: nsdeschenes Date: Mon, 15 Sep 2025 09:52:02 -0300 Subject: [PATCH 5/5] :speech_balloon: Update to new spaceless wildcard operators --- docs/concepts/search/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/concepts/search/index.mdx b/docs/concepts/search/index.mdx index 237fda470d17a..409baa6914769 100644 --- a/docs/concepts/search/index.mdx +++ b/docs/concepts/search/index.mdx @@ -146,13 +146,13 @@ For ease of use, we recommend using the wildcard `*` character instead of these ``` # contains, and does not contain -browser:containschrome, !browser:containsfire +browser:Containschrome, !browser:Containsfire # starts with, and does not start with -browser:starts withchrome, !browser:starts withchrome +browser:StartsWithchrome, !browser:StartsWithchrome # ends with, and does not end with -browser:ends withchrome, !browser:ends withfire +browser:EndsWithchrome, !browser:EndsWithfire ``` ## Page Filters