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

normalize HTTPD_COMBINEDLOG matching #279

Closed
wants to merge 4 commits into from

Conversation

kares
Copy link
Contributor

@kares kares commented Aug 4, 2020

There's a few changes here, namely:

  • missing ident, user auth, response (code) fields will no longer be captured
    httpd indicates these nulls as -, meaning that there won't be a 'response' => "-" for such line
  • referrer and user agent fields will be de-quoted:
    previosly: 'referrer' => '"http://semicomplete.com/presentations/logstash-monitorama-2013/"'
    changes to: 'referrer' => 'http://semicomplete.com/presentations/logstash-monitorama-2013/'

These changes will be required for (later) ECS mode, the changes in null field matches are less concerning.
However matching http.request.referrer and user_agent.original should be dequoted to align with ECS.

I am well aware that this is breaking (much more than what we've been collected so far for 4.2.0 - still unreleased).

@kares kares closed this Aug 4, 2020
@kares
Copy link
Contributor Author

kares commented Aug 4, 2020

replaced by #280

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.

1 participant