我正在尝试在 Azure Log Analytics 查询中创建注释,但我很困惑。我认为我面临的部分挑战是将这个系统视为 SQL,但事实显然不是。例如使用“--”会导致语法错误
traces
| where severityLevel > 1
-- this is an example of a line comment
| where message !contains "DiagnosticsLogger.GetMethod contains message 1"
| where message !contains "DiagnosticsLogger.GetMethod contains message 2"
| summarize by timestamp, message, severityLevel
在 https://docs.loganalytics.io 上找不到搜索词“评论”的任何内容引用。
最佳答案
//适用于 Azure Log Analytics 查询
关于azure - 如何在 Azure Log Analytics 中创建评论,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47641274/