System Grab Bag

View all TLDR pages from common (or from all pages)

varnishlog

Display Varnish logs. More information: https://varnish-cache.org/docs/trunk/reference/varnishlog.html.
  • Display logs in real time:
    varnishlog
  • Only display requests to a specific domain:
    varnishlog -q 'ReqHeader eq "Host: {{example.com}}"'
  • Only display POST requests:
    varnishlog -q 'ReqMethod eq "{{POST}}"'
  • Only display requests to a specific path:
    varnishlog -q 'ReqURL eq "{{/path}}"'
  • Only display requests to paths matching a regular expression:
    varnishlog -q 'ReqURL ~ "{{regex}}"'

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.