我在 Azure Kubernetes 集群中运行 Cilium,并希望在 Azure Log Analytics 中解析 cilium 日志消息。日志消息的格式如下
key1=value1 key2=value2 key3="if the value contains spaces, it's wrapped in quotation marks"
例如:
level=info msg="Identity of endpoint changed" containerID=a4566a3e5f datapathPolicyRevision=0
parse_xxx
我在文档中找不到匹配的方法(例如https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/parsecsvfunction)。是否有可能编写自定义函数来解析这种日志消息?