【问题标题】:Access dashboard's time range and granularity from KQL从 KQL 访问仪表板的时间范围和粒度
【发布时间】:2021-03-31 14:22:18
【问题描述】:

我已将使用 KQL 的图表和来自 Azure Log Analytics 的日志添加到仪表板。我正在使用make-series,效果很好,但问题如下:

我获取的日志可能不会扩展到仪表板规定的整个时间范围。所以基本上我需要访问开始时间/结束时间(和时间粒度)以使make-series 覆盖整个时间范围。

例如

logs
| make-series
    P90 = percentile(Elapsed, 90) default = 0,
    Average = avg(Elapsed) default = 0
    // ??? need start/end time to use in from/to
    on TimeGenerated step 1m

【问题讨论】:

    标签: azure azure-log-analytics kql azure-monitoring


    【解决方案1】:

    目前不支持。关于这个功能有一些反馈:Support for time granularity selected in Azure Portal Dashboard,和Retrieve the portal time span and use it inside the kusto query

    还有人在the first feedback提供了解决方法,你可以试试看。

    【讨论】:

    • 看起来好像缺少一个基本功能。感谢您的信息。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-06-24
    • 2019-06-30
    • 1970-01-01
    • 1970-01-01
    • 2013-01-07
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多