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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...