All Apps and Add-ons

How To Troubleshoot "No Results Found" in Splunk App for Jenkins

bspot_devops
New Member

I'm currently running jenkins 2.73.2 with Splunk Plugin 1.6.1 sending data to a single Splunk instance running 7.0.0 with a dev license. I've verified the connection to Splunk in the Jenkins configuration page and can see some events coming across by searching in splunk using the query index=jenkins*. Unfortunately all the dashboards in the Splunk App for Jenkins are blank and say "No Results Found". I have added no Custom Metadata in the Jenkins configuration and am not sure what to look at to troubleshoot next. Can anyone point me towards what I can verify or look at to help remedy this situation?

Thanks!

0 Karma

txiao_splunk
Splunk Employee
Splunk Employee

please run a test pipeline job like:

node("master"){
    writeFile file:"test-results.xml", text:'''<?xml version="1.0" encoding="utf-8"?>
<testsuite errors="0" failures="0" name="pytest" skips="1" tests="29" time="134.183">
<testcase classname="santiycheck" file="test_body.py" line="201" name="test_name" time="133.901971102"/>
</testsuite>
'''
    junit "test-results.xml"
}

then search index=jenkins* santiycheck

0 Karma

slinkycurtis
New Member

hi how would one go about running the job/script above on jenkins please?

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