This is something that was already discussed here -> Log rule regex doesn't work for negative lookahead - #9 by TMS1 , too bad that pattern matching does not support regex negative lookahead for placing all topic filter rules into single regex string.