SELECT * FROM events WHERE devicetype=12 AND ((LOWER("Process Path") LIKE '%\logman.exe' OR LOWER("Process Name") LIKE '%\logman.exe') OR Filename='Logman.exe') AND (LOWER(Command) LIKE '%stop %' OR LOWER(Command) LIKE '%delete %') AND (LOWER(Command) LIKE '%circular kernel context logger%' OR LOWER(Command) LIKE '%eventlog-%' OR LOWER(Command) LIKE '%sysmon trace%' OR LOWER(Command) LIKE '%sysmondnsetwsession%')