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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...