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!

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...

Customer success is front and center at .conf25

Hi Splunkers, If you are not able to be at .conf25 in person, you can still learn about all the latest news ...