Alert Settings Long Running Query Exclude RegEx
wwalborn
Posts: 4
Using: Version: 3.5.0.497
Here is an example email content for a long running query that I want to exclude (any SQLAgent jobs):
Process name: SQLAgent - TSQL JobStep (Job 0x1C32C6B680AD91468B8FB415ED990C70 : Step 6)
I have tried both of these and a few others, none of them seem to match and exclude, what am I missing?
Added to section
"Exclude queries with a SQL process name matching the following regular expressions:"
.*SQLAgent - TSQL JobStep .*
^SQLAgent.*
If are successfully filtering SQLAgent alerts, please share what is working for you. Thanks.
Here is an example email content for a long running query that I want to exclude (any SQLAgent jobs):
Process name: SQLAgent - TSQL JobStep (Job 0x1C32C6B680AD91468B8FB415ED990C70 : Step 6)
I have tried both of these and a few others, none of them seem to match and exclude, what am I missing?
Added to section
"Exclude queries with a SQL process name matching the following regular expressions:"
.*SQLAgent - TSQL JobStep .*
^SQLAgent.*
If are successfully filtering SQLAgent alerts, please share what is working for you. Thanks.
Comments
The last time this issue came up, it worked to put the whole string in square-brackets like this: Hopefully that does the trick.
[SQLAgent]
[SQLAgent]*
[SQLAgent].*
.*[SQLAgent].*
^SQLAgent.*
^SQLAgent.*\n