Forum Discussion

serg19's avatar
serg19
Copper Contributor
Sep 29, 2020
Solved

Azure Sentinel - analytic rule will be disabled

HI All,

I received a very odd message from MS today:

You are have an analytic rule that violates the Azure Sentinel guidelines (uses “union *” in the query).
This rule will be disabled since it failed to run.
The disabled rule name and description will be changed (AUTO DISABLED will be added to it)
''The query length should be between 1 and 10,000 characters and cannot contain “search *” or “union *”.” 

It means I am not allowed to have the following line in my query:
union withsource=TableName1 *
Anyone came acrossed it before?

Many Thanks

3 Replies

  • LiliaF's avatar
    LiliaF
    Copper Contributor
    Could you please share what is your role in the tenant so you receive those type of messages?
  • JKatzmandu's avatar
    JKatzmandu
    Brass Contributor

    serg19 

     

    Reading between the lines it's not the "union *" that's the issue, it's that when the "*" expands you have so many table space names that it exceeds 10,000 characters. You may need to split it with something like "union A* | union a*" or similar.