OMS 查询语言没有不区分大小写的搜索选项,但我发现它确实支持 REGEX。 正则表达式有一个参数 /i 允许不区分大小写的搜索。 但是我无法弄清楚如何在 oms 中使用 /i
的正则表达式OMS logsearch 是否支持 /i 选项? 有人可以给出使用示例或在 OMS 日志搜索中实现不区分大小写的搜索的任何其他方式吗?
给你:
@ Any string of characters. Computer=RegEx("[email protected]") srv01.contoso.com srv02.contoso.com
. Any single character. Computer=RegEx("srv...contoso.com") srv01.contoso.com srv02.contoso.com
https://learn.microsoft.com/en-us/azure/log-analytics/log-analytics-log-searches-regex