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.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...