Forrest logo
back to context overview

varnishlog

List of commands for varnishlog:

  • varnishlog:tldr:388dc varnishlog: Only display POST requests.
    $ varnishlog -q 'ReqMethod eq "${POST}"'
    try on your machine
    explain this command
  • varnishlog:tldr:3cd7c varnishlog: Only display requests to paths matching a regular expression.
    $ varnishlog -q 'ReqURL ~ "${regex}"'
    try on your machine
    explain this command
  • varnishlog:tldr:3f2c8 varnishlog: Only display requests to a specific domain.
    $ varnishlog -q 'ReqHeader eq "Host: ${example-com}"'
    try on your machine
    explain this command
  • varnishlog:tldr:78252 varnishlog: Only display requests to a specific path.
    $ varnishlog -q 'ReqURL eq "${-path}"'
    try on your machine
    explain this command
  • varnishlog:tldr:ee412 varnishlog: Display logs in real time.
    $ varnishlog
    try on your machine
    explain this command
back to context overview