数据狗案例敏感日志搜索

发布于 2025-02-07 12:51:35 字数 681 浏览 2 评论 0原文

有什么方法可以通过我们可以在数据狗内容中的日志中搜索对案例敏感的关键字。

例如:如果我们的日志具有字符串电话已更新
我搜索*电话*我应该得到0结果
但是,如果我搜索*电话*我应该得到1个结果

,已经通过以下文档无法弄清楚 https://docs.datadagoghq.com/trace_explorer/trace_explorer/trace_explorer/query_syntax/query_syntax/query_syntax/ https://docs.datadadoghq.com/logs/logs/explorer/explorer/search_search_search_search_search_search_search_seactax/

Is there any way via we can search case-sensitive keywords in our logs inside data dog content.

eg: if our log has a string phone is updated

and I search for *Phone* I should get 0 result

but if I search *phone* I should get 1 result

Already gone through the following doc unable to figure out
https://docs.datadoghq.com/tracing/trace_explorer/query_syntax/
https://docs.datadoghq.com/logs/explorer/search_syntax/

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

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

发布评论

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

评论(1

我很坚强 2025-02-14 12:51:35

简短答案:不幸的是,不。日志搜索不是对大小写的。

但是属性>属性喜欢状态,您可以运行:

service:your-service @status:Phone

您只会在status>状态属性中获取Phone的消息。

Short answer: Unfortunately, no. The log search is not case-sensitive.

But the attributes are case-sensitive, if you add this message to an attribute like status, you can run:

service:your-service @status:Phone

And you will only get messages that have Phone in the status attribute.

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