Logs Collected

The information being sent to Google Stackdriver Logging is collected from the Varnish Input and Request log files. Below are examples of some events being displayed in Google Stackdriver Logging that are being collected using the BindPlane Log Agent.

Varnish Input Logs ExampleVarnish Input Logs Example

Varnish Input Logs Example

Varnish Request Logs ExampleVarnish Request Logs Example

Varnish Request Logs Example

Log Collection Setup

Follow these steps to setup log collection for Varnish.

Pre-requisites

  • Locate the path to the Varnish Input Log files
  • Locate the path to the Varnish Request Log files

Configure a Varnish Source

  1. Install the BindPlane Log Agent on the host system.
  2. Login to BindPlane and select the Logs tab.
Logs TabLogs Tab

Logs Tab

  1. Select the Sources tab.
Sources TabSources Tab

Sources Tab

  1. In the top-right portion of the screen, click on the Add Source Configuration button
Add Source Configuration ButtonAdd Source Configuration Button

Add Source Configuration Button

  1. Choose Varnish
  2. Fill out the Varnish log configuration options.
Varnish Log Configuration FormVarnish Log Configuration Form

Varnish Log Configuration Form