X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/dc6032dafa208c927c06e301c12a95255cc49b43..b618b15498709b3621b7f13530d8e4a8290565d3:/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) }