azure-log-analytics - Azure Log Analytics:无法解析表或列或标量表达式
问题描述
我正在尝试使用参数构建 Log Analytics 工作簿。工作簿无法识别其中一个参数。
这里发生了什么?
例子:
解决方案
when using single value parameters like {STORAGE_ACCOUNT:label}
, you still need to enclose them in quotes (either single or double) to make them valid strings:
let varStorageAccount = '{STORAGE_ACCOUNT:label}';
you're doing that in the example when you hardcode the string.
when using multi-value parameters (like multiselect dropdowns), then the quote and delimiter settings are part of that parameter itself. but for single value parameters like text or single select dropdown, there's no quotes by default, so that the parameters can represent things that wouldn't normally be quoted.
推荐阅读
- powerbi - PowerBI 中选项卡/页面的基于角色的安全性(不是行级安全性)
- python - 以 x 的倍数从 200 倒计时到 0。X 是用户输入的值(python)
- c# - 发送带有附件的加密电子邮件
- elasticsearch - 我们可以从弹性搜索查询响应中删除数据跟踪吗
- javascript - 开玩笑/反应 - 类型错误:无法读取未定义的属性“touchStart”
- node.js - 使用 App Script 或 Node JS 将列式数据堆叠成行
- javascript - 如何检查对象中的值是否是原始值?
- scala - 依赖注入应该如何处理传递依赖?
- java - 如何从外部 APK 文件中将签名读入 ByteArray
- android - Xamarin Android 绑定库不是抽象的