I want to use this SQL query in an alert but I can't seem to find a way to make it work. It seems like I am limited to querying only certain tables in the Orion DB because I can't free form the entire query. The SELECT and FROM part of the query is hardcoded and determined by whatever is selected in the "set up your SQL condition" list. I don't see a selection in the list that returns the table I want to query. Is it not possible to use this SQL query in an alert?
SELECT [Message]
FROM [dbo].APM_SqlBbServerErrorLog_Detail]
WHERE [Message] LIKE '%untrusted%'