Page MenuHomePhabricator

add vhost names to nginx access log for project-proxy
Closed, ResolvedPublic

Description

We want rough info about usage/popularity for Cloud-VPS projects, but the current logs don't include this info.
We got info for Toolforge (P6174) - but we can't get equivalent for Cloud VPS, partially because it's missing the info, but also goaccess overwhelms the server to search them on the same hardware the logs are on.

Event Timeline

Change 389409 had a related patch set uploaded (by BryanDavis; owner: Bryan Davis):
[operations/puppet@production] dynamicproxy: Add vhost to access.log

https://gerrit.wikimedia.org/r/389409

Change 389409 merged by Rush:
[operations/puppet@production] dynamicproxy: Add vhost to access.log

https://gerrit.wikimedia.org/r/389409

Entries now look like:

c.tiles.wmflabs.org x.x.x.x - - [15/Nov/2017:19:09:11 +0000] "GET /hikebike/16/35147/24226.png HTTP/1.1" 200 5368 "-" "User-agent string here"