Datadog搜索字符串中的嵌入式空间

发布于 2025-01-24 11:51:46 字数 130 浏览 1 评论 0原文

有人知道如何使用带有空间的字符串在DataDog中搜索一个方面。例如:

@MessageTemplate:*test appointment*

这不起作用。

提前致谢!

Does anyone know how to search a facet in DataDog using a string with a space. For example:

@MessageTemplate:*test appointment*

This does not work.

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

听你说爱我 2025-01-31 11:51:46

您可以使用单打逃生角色捕获空间:<<<代码> @messageTemplate:*测试?预约*

You can use a single wildcard escape character to capture the space: @MessageTemplate:*test?appointment*

很快妥协 2025-01-31 11:51:46

您还可以在搜索时使用双引号(如果不包含通配符):

@messageTemplate:“ Test Testment”

另一种可能性是进行免费搜索(不指定属性,只需键入字符串))带有双引号:

“测试约会”

You can also use double quotes when searching if it doesn't contain wildcards:

@MessageTemplate:"test appointment"

Another possibility is to do a free search instead (without specifying the attribute, just typing the string) with double quotes:

"test appointment"

留一抹残留的笑 2025-01-31 11:51:46

您可以使用\,例如:

@MessageTemplate:test\ appointment

请参阅

You can escape spaces with \, e.g.:

@MessageTemplate:test\ appointment

See syntax docs.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文