From: Tom Hughes Date: Mon, 27 Jul 2015 17:55:41 +0000 (+0100) Subject: Handle request IDs with hyphens X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/4689f34a5beea969804f6305c3ff0cd76e8143e3 Handle request IDs with hyphens --- diff --git a/cookbooks/logstash/templates/default/logstash.conf.erb b/cookbooks/logstash/templates/default/logstash.conf.erb index e4546bb01..7608e2b5b 100644 --- a/cookbooks/logstash/templates/default/logstash.conf.erb +++ b/cookbooks/logstash/templates/default/logstash.conf.erb @@ -9,7 +9,7 @@ input { filter { if [type] == "apache" { grok { - match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{WORD:request_id} %{NOTSPACE:ssl_protocol} %{NOTSPACE:ssl_cipher}" ] + match => [ "message", "%{COMBINEDAPACHELOG} %{NUMBER:duration:int}us %{NOTSPACE:request_id} %{NOTSPACE:ssl_protocol} %{NOTSPACE:ssl_cipher}" ] } date { match => [ "timestamp", "dd/MMM/yyyy:HH:mm:ss Z" ]