Archive for June, 2011

Handy Splunk Searches

Posted: June 29, 2011 in How To

The idea of this post is only to keep track of the Splunk searches that I use frequently that are generic enough to just work on other systems without too much tinkering. For example, your sourcetype might be different.

  • Check for SUDO activity
    sourcetype="syslog" sudo | rex field=_raw "sudo: (?<user>.*):" | search user!="pam_unix(sudo:auth)" | table user COMMAND