Splunk Search

Show multi values

kig121
Loves-to-Learn Lots

Hi, i am a beginner.

I have 2 sourcetype (table). One of conatins requirement_id other ones conatins Testcase_id and requirement_id.

Must have: Join Testcase_id sourcetype to Requirement_id

 

Note: Sorting (ordering of Testcase_id sourcetype is not a solution, because requirment_id souercetype  table contains many other important attribute which is missing Testcase_id sourcetype.

Requirement id
1
2
3
4
5
Testcase_idRequirement_id
141
142
143
871
872
873
764
674
455

 

My Expectation:

Requirement_idTestcase_id
114
187
214
287
314
387
476
467
545
Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you could try the next

Index IN (<IDX 1>, … <IDX 2>) sourcetype IN (st1, st2)
| stats values(*) as * by Requirement_id, Testcase_id 
| sort Requirement_id

r. Ismo 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
search test case
| join requirement_id [search requirements]
| sort requirement_id
0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...