Azure Log Analytics - RegEx case insensitive
Contents
When searching in Log Analytics, matches regex
can be very helpful. By default, the Regular Expression Case is Sensitive. To change this, the parameter i
must be passed.
Here is a sample query that searches the IIS logs for logs from a particular computer.
W3CIISLog
| where ( Computer matches regex "(?i)MyCoMpUtEr" )
// (?i) = Case insensitive