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!

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