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
Grafana alerting doesn't support booleans as alert values or transforming a boolean value to get an alert rule in Grafana.
However, there should be a way to transform boolean values on AWS SiteWise side to 1 and 0 and then make a math alert rule out of that. Can you try following the steps below and see if that does what you need it to?
Click the Edit in the Asset Model configuration for your asset and scroll down to the Transform tab. This is what that looks like in the console:
Add a transform rule for one of your measurements. "if" and "eq" for strings should give you what you need, maybe another one from here too, but this is what worked for me
Once you Save and re-query the asset in Grafana panel, you should have the new field (isSW, for example) in the asset property list. It will return an array of 0s or 1s for for the time series. If you use this query as the input for your Threshold rule (or use a Math expression), you should be able to create an alert that fires when >0, or the machine is scheduled.
There is no way to set a condition that is in boolean format. Below is my use case
A: query:
B: query:
A simple transformation would work as well, but I can't find a way even using expressions.
Any ideas?
The text was updated successfully, but these errors were encountered: