X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/be5f5bf83260f6fe16c253bb2069b34bd7421549..a9132885c1fbb83c7889b0b6e9c040fa2eab618e:/cookbooks/web/templates/default/api-statistics.erb?ds=inline diff --git a/cookbooks/web/templates/default/api-statistics.erb b/cookbooks/web/templates/default/api-statistics.erb index af577f3e9..b4c417447 100644 --- a/cookbooks/web/templates/default/api-statistics.erb +++ b/cookbooks/web/templates/default/api-statistics.erb @@ -19,7 +19,7 @@ def categorise_uri(line) end end -parser = ApacheLogRegex.new('%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Ts') +parser = ApacheLogRegex.new('%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\" %Dus %{UNIQUE_ID}e %{SSL_PROTOCOL}x %{SSL_CIPHER}x') last_write = Time.now statistics = { :status => Hash.new(0), :uri => Hash.new(0) }