grep the lines that does NOT contain pattern - Wired Mind Blog
man grep
-v, --invert-match
Invert the sense of matching, to select non-matching lines.
Example
cat access_log_with_utm_source.log | sudo grep ...
man grep
-v, --invert-match
Invert the sense of matching, to select non-matching lines.
Example
cat access_log_with_utm_source.log | sudo grep -v "gclid\|msclkid" > no_gclid_msclkid.log