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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...