Skip to main content
Sumo Logic

Collect Logs and Metrics for Varnish

This guide provides you the steps to collect Varnish logs.

This page provides instructions for configuring log and metric collection for the Sumo Logic App for Varnish.

Collection Process Overview

Configuring log and metric collection for the Varnish App includes the following tasks:

Step 1: Configure Fields in Sumo Logic

Create the following Fields in Sumo Logic before configuring the collection. This ensures that your logs and metrics are tagged with relevant metadata, which the app dashboards require. For information on setting up fields, see the Fields help page.

If you are using Varnish in a  non-Kubernetes environment, create the fields:

  • component
  • environment
  • cache_system
  • cache_cluster
  • pod

If you are using Varnish in a Kubernetes environment, create the fields:

  • pod_labels_component
  • pod_labels_environment
  • pod_labels_cache_system
  • pod_labels_cache_cluster