When I tried to add alert rule using OMS portal - Log analytics
.
getting below error -
Search resulted in an error of type: SyntaxError
query is Type=Event EventLevelName=error
query is correct still getting above error
can any one check this.
Getting error while creating Alert rule in Log Analytics in OMS
You should use
Event | where EventLevelName == "Error"
.Please refer to this link.