> ## Content Index
> Fetch the complete content index at: https://kudithipudi.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# HOW TO : Query varnishlogs to show backend server
- URL: https://kudithipudi.org/how-to-query-varnishlogs-to-show-backend-server/
- Published: 2016-10-26T04:28:33.000Z
- Updated: 2016-10-26T04:28:33.000Z
- Description: Command parameters for varnishlog to view the backend server that is processing the request. In this particular case, I wanted to see the request URL and...
- Author: admin
- Tags: HOWTO, Linux, Networking, Technology, Uncategorized, backend, howto, linux, varnish, #wp, #wp-post, #Import 2026-08-23 02:32

Command parameters for varnishlog to view the backend server that is processing the request. In this particular case, I wanted to see the request URL and backend server for any responses with HTTP code 401 (unauthorized access)

sudo varnishlog -i BackendOpen,BereqURL -q "BerespStatus == 401"