All Apps and Add-ons

Splunk Jenkins plug-in 1.7.4: How to Disable sending Console Logs from Jenkins to Splunk

mlevsh
Builder

We have configured Splunk plug-in for Jenkins version 1.7.4 on Jenkins side.
We want to send Custom Metadata -> Data source "Queue Information " to index=index_statistics
Iin addition to this data we are getting Console logs to index=jenkins_console.

We cannot find where exactly can we disable sending Jenkins console logs data to Splunk.

Anybody had any experience with that?

0 Karma
1 Solution

txiao_splunk
Splunk Employee
Splunk Employee

there is a drop down item called "Disabled" in Custom Metadata section
disabled

View solution in original post

txiao_splunk
Splunk Employee
Splunk Employee

there is a drop down item called "Disabled" in Custom Metadata section
disabled

mlevsh
Builder

@txiao_splunk , thank you for your quick reply!
We didn't realize that we can select "Disabled" as a "Config Item" , which we did per your advice.

The goal was to stop Jenkins data from coming to index=jenkins_console (with numerous source(s) containing "console" key word ), but even after selecting "Disabled" for "Console Log" Data Source we still continued to get data in "jenkins_console" index.

At this point we are not even sure if "Console log" data source corresponds to "jenkins_console" index.

Any advice will be appreciated

0 Karma

txiao_splunk
Splunk Employee
Splunk Employee
index=jenkins_console |stats values(host), values(source)

host is Jenkins hostname configured in the plugin, probably you need disable them if you have multiple instances

0 Karma

mlevsh
Builder

@txiao_splunk , thank you for providing the workaround and updating Splunk Jenkins Plugin to version 1.9.3 with disable jdk logger when console_log is disabled (https://plugins.jenkins.io/splunk-devops/)

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...