I am writing the below code in KQL :-
UserBaseTable
| where RawData contains_cs "REF "
I want the records which start with the string REF but when I run the above command I get records where in the "REF" string is coming in between also. I tried using the contains_cs also but it only works with the case sentivity not with the position of the searchable string. How do I get the desired result
Also the or operator doesnt work for me in KQL. Do we have a different usage of the "OR" operator?
Have a look at startswith_cs it could do what you're needing.
Wordlist courtesy of The Free Dictionary.
My output: |R| |-| |REFlected| |REFLECTS| |REF erence|