logstash-plugins / logstash-patterns-core

Apache License 2.0
2.17k stars 979 forks source link

Fix: HTTPD access log parse failure on missing response #282

Closed kares closed 4 years ago

kares commented 4 years ago

Without this fix the following line would not match the HTTPD_COMBINEDLOG pattern: 83.149.9.216 - a.user [11/Jan/2020:23:05:27 +0100] "OPTIONS /remote.php/ HTTP/1.1" - 7908 "-" "x-client" due "-" response (after 7908 "-") not parsing as a number

NOTE: there's also some more specs (which aren't relevant to the change)