X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/be5f5bf83260f6fe16c253bb2069b34bd7421549..d6ed0a8d7822828b12aa2c90c6bcc62f780c2fa5:/cookbooks/web/templates/default/api-statistics.erb 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) }