Skip to content

Instantly share code, notes, and snippets.

@mrpatrick
Created October 25, 2013 19:55
Show Gist options
  • Save mrpatrick/7160893 to your computer and use it in GitHub Desktop.
Save mrpatrick/7160893 to your computer and use it in GitHub Desktop.
LogFormat "%s %h %l %u %t \"%r\" %b" splunk
CustomLog "|stdbuf -o0 /bin/grep --invert-match '^200' | /usr/sbin/rotatelogs /var/log/apache2/splunk-access.log 86400" splunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment