cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Log Analytics pattern matching rules containing '='

r_weber
Pro

The 'advanced query language' or Dynatrace Query Language is very weak it seems:

https://www.dynatrace.com/support/help/infrastruct...

When trying to define a log event pattern detection a simple expression like "EXIT_CODE=6" is not possible. This pattern would match anything that contains EXIT_CODE the '=' is ignored.

How would one search for exactly this string?

1 REPLY 1

pawel_brzoska
Inactive

Hi Reinhard,

both "EXIT_CODE=6" and EXIT_CODE=6

will match EXIT_CODE=6 but will not match EXIT_CODE

However EXIT_CODE = 6

will match lines that contain EXIT_CODE and = and 6 on any position in the log line (entry).

We just doublechecked the above behavior, if you observe different results - please open a support call.