Skip to main content
Sumo Logic

Collect Logs and Metrics for Apache Tomcat

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

Collection Process Overview

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

Step 1: Configure Fields in Sumo Logic

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

If you are using Apache Tomcat in a  non-Kubernetes environment create the fields:

  • component
  • environment
  • webserver_system
  • webserver_farm
  • pod

If you are using Apache Tomcat in a Kubernetes environment create the fields:

  • pod_labels_component
  • pod_labels_environment
  • pod_labels_webserver_system
  • pod_labels_webserver_farm