All Apps and Add-ons

No Records Found in Test Results in Splunk App For Jenkins

New Member

What could be reason, test results not being populated on Splunk App For Jenkins.

  1. Do i need to write specific function in Jenkins Pipeline to post it to Splunk ?
  2. Is Splunk App for Jenkins not configured correctly for Test Results ?

Test Project do create surefire XML reports.

And also in Search Navbar , i dont see any counts for testCase and testsuite
page_num: 1
testsuite: { [-]
duration: 0
errors: 0
failures: 0
passes: 0
skips: 0
testcase: [ [+]
tests: 0
time: 0
total: 0

alt text

0 Karma


Doing a cursory review of this app, it looks like it uses macros to define the indexes Splunk will search for the Jenkins data. You may need to adjust these values to match the indexes where you've sent the data to. You can adjust the values under settings --> advanced search --> search macros. Look at the leftmost column Name for the following entries.

definition = index="jenkins_statistics"

definition = index="jenkins_console"

definition = index="jenkins"
0 Karma
Get Updates on the Splunk Community!

Introducing Ingest Actions: Filter, Mask, Route, Repeat

WATCH NOW Ingest Actions (IA) is the best new way to easily filter, mask and route your data in Splunk® ...

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...