Azure/azure-iot-pcs-remote-monitoring-dotnet

Text based alarms generation

njabulomp opened this issue · 0 comments

Good day,

I would like to know if the stream analytics job allows text based rules matching .e.g. button mode = 'guard' along with numeric value matching e.g. temp = 50.0 when evaluating rules ?

Update

I got it to work, my rules needed single quotes. e.g.
__rulefilterjs": "return (record.__aggregates.description = 'Double press') ? true : false;