KUMA allows filtering data in widgets of the Events type in the current dashboard and drill down to another dashboard while keeping the configured filtering parameters and period.
This is achieved using global variables. The global variables must be configured in both dashboards, as well as in the properties of widgets: on the target dashboard, the variable is specified in the SQL query, and in the source dashboard, the variable is specified when managing the Drill down to another dashboard setting. When drilling down from one dashboard to another, KUMA automatically substitutes the selected value of the variable and the period, after which the charts in the target dashboard are rebuilt. Both dashboards must be in the same tenant.
Local variables cannot be used when drilling down to another dashboard.
Configuring the target dashboard
To configure the target dashboard:
The variable name may contain only English letters and numerals and may not contain spaces.
filter() function to the WHERE clause.The syntax for variables with a specific value is as follows:
filter(<event_field_name> = $variable_name)
The syntax for variables with an arbitrary value entered manually is as follows:
filter(<event_field_name> like $variable_name)
Configuring the source dashboard
To configure the source dashboard:
The variable name must be the same as the name of the variable created in the target dashboard. The name may contain only English letters and numerals and may not contain spaces.
The selected variable must be specified in the SQL query of the widget on the target dashboard, so that the data on this widget is automatically filtered after the drill-down.
Drilling down from source dashboard to target dashboard
To drill down to the target dashboard:
This opens the target dashboard in a new tab. The period of the original widget is automatically applied to the entire dashboard, and the selected value from the Value drop-down list is passed as a variable to widgets of the Event type, in which this variable is used in the SQL query through the filter() function. The charts in the widgets on the other dashboards are rebuilt with the passed values taken into account.
If you change or delete a variable that is specified in the action on the target dashboard to which you are drilling down to, the drill-down is still performed, but the value of the variable is not passed.