Issue creating Application Insight Alert Rule

Andre Kalamandeen 21 Reputation points
2022-09-08T15:34:19.767+00:00

Hi all,
I'm creating an Application Insight Alert rule using a log search.

The query looks like:

exceptions  
| where outerMessage !has 'Specific Exception';  

This query works fine, but in the "Configure Signal Logic" log query, it's giving this error:

BadArgumentError- Query could not be parsed at '|' on line [3,0]  

Any ideas what might be going on here?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,645 questions
{count} votes

Accepted answer
  1. Alistair Ross 7,466 Reputation points Microsoft Employee
    2022-09-08T15:46:29.253+00:00

    Hi @Andre Kalamandeen

    Simply remove the command break " ; " from the end of the query.

    239142-question999611.png

    kind regards

    Alistair Ross

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andre Kalamandeen 21 Reputation points
    2022-09-08T16:21:30.627+00:00

    Thank you! That worked.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.