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

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...