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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...