You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Queries used in alerts don't have any macros or variables expanded. This makes it very challenging to reuse panels for alerts.
Here's an example error (whitespace added) from a query that has a dashboard variable called $BusinessUnit:
Semantic error:
'MyTable
| where timestamp >= datetime(2020-10-22T18:23:46.551Z) and timestamp <= datetime(2020-10-22T18:28:46.551Z)
and business_unit == \"$BusinessUnit\"
| summarize count() by bin(timestamp, $__interval)
| order by timestamp asc'
has the following semantic error:
SEM0100: 'summarize' operator:
Failed to resolve scalar expression named '$__interval'.
Notice that neither $__interval nor $BusinessUnit was expanded in the query the alert generated.
Here's the same panel rendered as a line chart:
The text was updated successfully, but these errors were encountered:
Queries used in alerts don't have any macros or variables expanded. This makes it very challenging to reuse panels for alerts.
Here's an example error (whitespace added) from a query that has a dashboard variable called
$BusinessUnit
:Notice that neither
$__interval
nor$BusinessUnit
was expanded in the query the alert generated.Here's the same panel rendered as a line chart:
The text was updated successfully, but these errors were encountered: