Jenkins
Logs Collected
The logs collected are pulled directly from the /var/log/jenkins/jenkins.log
file on Linux and MacOS. Windows differs in that there are two files for the logs:
%JENKINS_HOME%/jenkins.out
and%JENKINS_HOME%/jenkins.err
The log files contain all the relevant and useful information related to the Jenkins server. Using the Blue Medora BindPlane Log Agent, the logs can be collected and sent directly to Stackdriver Logging for further use. Below is an example of the Jenkins logs within Stackdriver Logging!

Jenkins Logs Example
Log Collection Setup
Follow these steps to setup log collection for Jenkins.
Pre-requisites
- Locate the path to the Jenkins log files
Linux & MacOS Default: /var/log/jenkins/jenkins.log
Windows Default: %JENKINS_HOME%/jenkins.out
and %JENKINS_HOME%/jenkins.err
Configure a Jenkins Source
- Install the BindPlane Log Agent on the host system.
- Login to BindPlane and select the Logs tab.

Logs Tab
- Select the Sources tab.

Sources Tab
- In the top-right portion of the screen, click on the Add Source Configuration button

Add Source Configuration Button
- Choose Jenkins
- Fill out the Jenkins log configuration options.

Jenkins Log Configuration Form
Updated about 4 years ago