config case_sensitive = false | preset=xdr_process | filter (event_type = ENUM.PROCESS and 
 event_sub_type = ENUM.PROCESS_START) and 
 (agent_os_type = ENUM.AGENT_OS_LINUX and 
 (((action_process_image_path in ("*/rm", "*/rmdir", "*/shred", "*/unlink")) and 
 (action_process_image_command_line in ("*/var/log*", "*/var/spool/mail*"))) and 
 (not 
 ((action_process_image_path contains "/rm" and 
 action_process_image_command_line contains "rm -f /var/log/sysstat/") or 
 (action_process_image_path contains "/rm" and 
 action_process_image_command_line contains "rm -f -- /var/log//dmesg")))))