Can Cloudwatch dashboard variable depend on another dashboard variable

0

I have following schema {pageId, pageVersion, subPageId}. Each pageId+pageVersion has different set of subPageId. I need to plot graphs for each pageId and create a dropdown for pageVersion and subPageId to update the graph.

For pageVersion, I can use metric search to populate available values using hardcoded pageId.

 Search({namespace, pageId, pageVersion, subPageId}pageId=A)
and choose the resulting pageVersion dimension results.

For subPageId, I need to use hardcoded pageId and value chosen in the pageVersion dropdown to retrieve the metric results.

 Search({namespace, pageId, pageVersion, subPageId}pageId=A AND pageVersion=$pageVersion)

Is it possible to use the value of other variable in the metric search and update the graph dynamically ?

Jegan
已提问 5 个月前426 查看次数
1 回答
0

Hi, apologies for the delay getting back to you. After checking, I have confirmed that it is not possible to use the value of another variable in the definition of a metric search to populate another variable.

When using a custom widget, you can refresh a custom widget and add additional context to the event as you trigger new refresh, which allows custom widgets to nest or cascade queries, but that only works for custom widgets, and doesn't allow you to control variables (which are useful to update standard widgets).

May I suggest that you ask for an enhancement if you need this feature? You can do so through support (preferably) or by sending feedback from the console.

profile pictureAWS
Jsc
已回答 4 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则