Excluding patterns with KQL

you have to put "NOT" in front of the filter, not the minus.