varnishncsa, regex, and ReqEnd?

Jeff Potter jpotter-varnish at codepuppy.com
Thu Jan 24 23:41:13 CET 2013


Howdy,

I can't seem to get varnishlog or varnishncsa to run with a -m regex on ReqEnd -- even a .* match results in nothing:

	varnishlog -c -m 'ReqEnd:.*'
	(nothing)

But it's definitely there:
	varnishlog -c | grep ReqEnd
	   29 ReqEnd       c 1305611473 1359067120.610778332 1359067120.660271168 0.052320004 0.049444437 0.000048399
	   29 ReqEnd       c 1305611475 1359067120.874516726 1359067120.912814140 0.115943432 0.038046122 0.000251293
	   42 ReqEnd       c 1305611477 1359067120.964497328 1359067120.964612961 0.338384867 0.000071764 0.000043869
	   29 ReqEnd       c 1305611479 1359067121.222486973 1359067121.230084419 0.005004644 0.007555723 0.000041723
	   29 ReqEnd       c 1305611480 1359067121.264626026 1359067121.370830059 -0.106092930 nan nan
	   47 ReqEnd       c 1305611482 1359067121.299682856 1359067121.487748384 3.938856840 0.188021898 0.000043631

This is on Varnish 3.0.3.

Am I missing something?

Background: I'm trying to get varnishncsa to output lines where the time to first byte -- or backend time, i.e. col 5 in ReqEnd -- is greater than a certain value. If there's a better / different way of doing this, that'd work too.

Thanks!

-Jeff


More information about the varnish-misc mailing list