Splunk Search

Help with creating table

Pip9ball
Explorer

Hello All -

I'm fairly new to Splunk and I've been racking my head for the past 8 hours trying to create a table for comparing two sets of runs.

My search string is as follows:

index="fe" source="regress_rpt" pipeline="soc" version IN ("(version="23ww09a" OR version="23ww10b")") dut="*" cthModel="*" (testlist="*") (testName="*") status=* | rex field=testPath "/regression/(?<regressionPath>.*)" | search regressionPath="*" | search regressionPath="***"| stats values(cyclesPerCpuSec) values(version) by testPath | reverse

This will generate a table similar to:

 

 

testPathvalues(cyclesPerCpuSec)vales(version)
test.6719.9123ww10b
test.5742.4423ww10b
test.4563.4623ww10b
test.6694.3623ww10a
test.5423.2323ww10a
test.4146.3423ww10a

 

However, I want to display a table that looks like

 

testPath23ww10a23ww10b
test.6694.36719.91
test.5423.23742.44
test.4146.34563.46

 

Essentially, I'm trying to create table so I can compare the results of a specific test across different model versions.

Any help is greatly appreciated!

Thanks,

Phil

Labels (3)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

Use chart rather than stats

| chart values(cyclesPerCpuSec) over testPath by version

That puts version across the columns and testPath down the side.

 

Note: When posting SPL snippets, use a code block </> to create a box like above 

View solution in original post

0 Karma

bowesmana
SplunkTrust
SplunkTrust

Use chart rather than stats

| chart values(cyclesPerCpuSec) over testPath by version

That puts version across the columns and testPath down the side.

 

Note: When posting SPL snippets, use a code block </> to create a box like above 

0 Karma

Pip9ball
Explorer

@bowesmana - Thank you so much!

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...