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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...