1
vote
1answer
101 views

Buffered nginx/varnish access logging to remote server

I need a way to measure how many times different files have been accessed and when. My setup consists of several low capacity servers spread out over the world running Varnish behind Nginx (for SSL ...
1
vote
1answer
171 views

Logging varnishlog output to a file with awk in daemon mode

I would like to daemonize the answer in this topic http://serverfault.com/a/480871/94127. Since varnishlog has daemon mode, I tried to use -D option as below. But the timestamps are not appearing. ...
2
votes
1answer
244 views

How can I log timestamps with Varnish health probes?

I'm using Varnish 3.0.3 on RHEL 6 as a caching load balancer in front of several Apache web servers and want to keep a log of when Varnish sees the back-ends change from healthy to sick and back ...
3
votes
1answer
990 views

Logging the client IP with Nginx/Varnish/Apache

I have Nginx listening on port 443 as an SSL terminator, and proxying unencrypted traffic to Varnish on the same server. Varnish 3 is handling this traffic, and traffic coming in directly on port 80. ...
2
votes
3answers
266 views

Varnish Cache logging to MongoDB

I want to stream Varnish's log into MongoDB for realtime reporting. Can this be configured directly within Varnish or can the official Varnish-Agent (https://github.com/varnish/varnish-agent) be used ...
3
votes
1answer
1k views

Get varnishlog to log only 503 errors into file

I tried everything: service varnishlog start - logs everything varnishlog -D -c -m TxStatus:503 > /var/log/varnish/varnish.log - doesn't seem to be doing anything varnishlog -c -m TxStatus:503 ...
1
vote
2answers
704 views

Logging of POST requests, cookies and XID in varnish (varnishncsa)

I would like to include following information in my varnishncsa logs (I need to relate some issues with specific users). content of post requests cookie with full content XID After reading ...
2
votes
1answer
311 views

how to increase the limit of the varnish log

i want to increase the log limit of the varnish cache server , as i see when i write the log to a file it only give me about 13k of requests , i want to increase it to something like 1 million for a ...
3
votes
2answers
3k views

How to filter Varnish logs based on XID?

I'm running into infrequent 503 errors which appear hard to pinpoint. Varnishlog is driving me mad, since I can't seem to get the information I want out of it. I'd like to see both the client- and ...
2
votes
1answer
4k views

where can i find varnish log files? /var/log/varnish is empty

I'm trying to read log files of Varnish server in Ubuntu environment. I actually never used Varnish before. so...I cd to /var/log/varnish, but the folder is empty. it tells me that I have to ...
1
vote
3answers
3k views

Logging behind a reverse proxy?

I am currently running Varnish as a reverse proxy in front of our development website, testing before deployment into production. One of the things I've had to come to grips with is logging: in a ...