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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...