Created
August 13, 2014 15:00
-
-
Save DazWorrall/46f0c4bc7837c6da1140 to your computer and use it in GitHub Desktop.
OSSEC decoder for the apache vhost_combined_plus log format (debianism?)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<decoder name="vhost-accesslog"> | |
<type>web-log</type> | |
<prematch>^\S+:\d+ </prematch> | |
<regex offset="after_prematch">(\d+.\d+.\d+.\d+) \S+ \S+ [\S+ \S\d+] </regex> | |
<regex>"\w+ (\S+) HTTP\S+ (\d+) </regex> | |
<order>srcip, url, id</order> | |
</decoder> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment