Apache Tomcat
Logs Collected
The two types of logs collected are Access and Catalina logs. Creating Log based metrics within Stackdriver can allow for historical analysis later to determine if there are any unusual trends within your logs. Below are examples of how the logs would look within Google Stackdriver Logging.
Supported Versions
Apache Tomcat: 7, 8, 8.5
Log Collection Setup
Follow these steps to set up log collection from Apache Tomcat.
Pre-requisites
Locate the local Tomcat access log directory.
Configure a Apache Tomcat Source
- Install the BindPlane Log Agent on the host system.
- Login to BindPlane and select the Logs tab.
- Select the Sources tab.
- In the top-right portion of the screen, click on the Add Source Configuration button
- Choose Apache Tomcat
- Fill out the Tomcat access log path.
Tomcat Access Log locations
To find your Tomcat logging location you can check your Tomcat conf file.
For more information, Click here.
Updated over 4 years ago