简体   繁体   English

如何在Kibana中通过指定的https://端点搜索/过滤日志消息

[英]How to search/filter for log messages by specified https:// endpoints in Kibana

I try to filter for log messages by https:// endpoints such as https://test.com to find request/response to external systems in Kibana Discover. 我尝试通过https://端点(例如https://test.com筛选日志消息,以在Kibana Discover中查找对外部系统的请求/响应。

When trying to escape the special characters message: https\\:\\/\\ . 尝试转义特殊字符message: https\\:\\/\\ I get the following error: 我收到以下错误:

Discover: Expected "*", "\\", "\\n", "\\r", "\\t", [\\ \\t\\r\\n] or end of input but ":" found.

Can you explain why you want to escape the characters? 您能解释一下为什么要转义字符吗? I assume that the message field you want to search on is of type text. 我假设您要搜索的消息字段是文本类型。

By quoting the search term you should get the desired results: 通过引用搜索词,您应该获得所需的结果:

message:"https://*" 消息: “https://开头*”

Regards 问候

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM