This topic describes how the Jenkins Syslog Logger Plugin sends the Jenkins logs to a Syslog server.
Prerequisites
- Administrator login credentials.
Configuring Syslog in Jenkins
To configure the Jenkins Syslog logger plugin, navigate to the Configure System screen and add the following details:
Syslog Server Hostname: Forwarder IP Address
Syslog Server Port: 21672
Syslog Logging Handler Filter Level: FINE
Syslog network protocol: UDP
Syslog message format: RFC_5424
Syslog App Name: Any Unique Name
Syslog Facility: Choose the required facility keyword
Now add the below Collector to the configuration File in the forwarder.
--------------------------
- syslog:
common:
enabled: true
data_type: JENKINS
data_hint:
batch_n_seconds: 10
batch_n_bytes: 1048576
tcp_address: 0.0.0.0:21672
udp_address: 0.0.0.0:21672
Once the collector is added to the forwarder, then the logs go to the forwarder and then to the Chronicle.
Comments
0 comments
Please sign in to leave a comment.