简体   繁体   中英

Filters in Azure dashboards

In an Azure dashboard, I can set a filter, but I don't see any way to use the filter value in the actual queries. I'm assuming that it might filter the final results automatically, but not all panels work the same way so that's not always effective. I don't seem to be able to reference it with the ${} syntax. Is there some other way or is this not actually supported?

在 Azure 仪表板上添加筛选器

In recent dashboards the Add filter option is not visible on Shared dashboard , see this to Open a shared dashboard .

Shared dashboard screenshot: 在此处输入图像描述

We can create an Azure dashboard programmatically by fetching the JSON representation of the dashboard. Export => Download .

In Azure monitor view we can do the filter by value of that property. If we need any effect on a filter, we need to modify the queries like here .

The basic syntax for it,

where ${filter_name}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM