All Apps and Add-ons

How do we override "jenkins_statistics" in Splunk App for Jenkins dashboard's query ?

wailoont
Engager

Hi Splunk,

My Splunk version is Splunk Enterprise 7.1.0, and Splunk App For Jenkins 2.0.2

The dashboards in the Splunk app is using "jenkins_statistics" in the query. How do we customize this to use our own indexes instead ?
Our company has strict index creation guideline, and we cant create jenkins_statistics index.

Can we replace the "jenkins_statistics" index in the query with our own index? If yes, how ?

Thanks for response !

0 Karma

txiao_splunk
Splunk Employee
Splunk Employee

I am afraid not. you have to replace js and conf files manually, such as

ack 'jenkins_statistics' -l |xargs -IABC sed -i '' -E 's/jenkins_statistics/sky_statistics/g' ABC

ack: https://beyondgrep.com/install/
or use ripgrep: https://github.com/BurntSushi/ripgrep

0 Karma

wailoont
Engager

Hi txiao,

Many thanks for responding.

Where should i run this command ? My company is using Splunk Enterprise, so i guess on the Splunk host machine where the app is installed ?

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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

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, ...