如何从括号中的log Analytics字符串和双引号KQL中解析字符串表
相当简单的问题,但是由于我在KQL的新成绩,我正在努力弄清楚如何正确执行此操作。我想从具有[“名称”]的表中解析一个字符串。问题是大约有28,000个不同的字符串,它们都是独一无二的。我只需要拉动双引号和括号之间的弦。目前,我正在做| parse tags_s *“ [”标签
,然后最终得到“名称”]。我尝试用引号来解析,但是每次我这样做时,我只会带回空数据。因此,以某种方式,我需要分析28,000个单个字符串,并且仅从标签数据集下方的引号和括号中删除实际单词。 任何帮助将不胜感激。
Fairly simple question but due to how new I am at KQL I am struggling to figure out how to do this properly. I want to parse a string from a table that has ["name"]. Problem is there are about 28,000 different strings and they are all unique. I just need to pull whatever the string is that's between the double quotes and brackets. Currently I am doing | parse Tags_s * "[" Tags
and then just end up getting "name"] as a result. I tried parsing in the quotes but every time I do I just bring back empty data. So somehow I need to parse 28,000 individual strings and only pull the actual word out from the quotes and brackets all under the Tags_s dataset.
Any help would be appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论