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.
Apache Tomcat: 7, 8, 8.5
Follow these steps to set up log collection from Apache Tomcat.
Locate the local Tomcat access log directory.
- 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 8 months ago