Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates to apache-log-parser - hostnames, IPv6, empty headers #6

Merged
merged 7 commits into from
Nov 28, 2013

Conversation

MrSecure
Copy link
Contributor

I've made some changes to make this more useful to me, and hopefully others. Also, I've tried to include @mipaaa's fixes.

Highlights:
%h : (updated) handle hostname and IPv6 as well as IPv4 (per apache docs) (fixes #1)
%b : (added) responseBytes are different than sentBytes (includes headers)
%{HEADER}i : (updated) - permit blank referrers and agents (fixes #5)

Added getPCRE() function to extract the compiled PCRE for review.
Updated parse() to include the UNIX Epoch timestamp as 'stamp' when a time is parsed.

Cheers!

kassner added a commit that referenced this pull request Nov 28, 2013
updates to apache-log-parser - hostnames, IPv6, empty headers
@kassner kassner merged commit e629b3a into kassner:master Nov 28, 2013
@kassner kassner mentioned this pull request Nov 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Blank referrers and agents Support IPv6 logs
2 participants