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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...