Splunk Search

Correlating fields and printing some fields .

sandeepmakkena
Contributor

Logger 1: has StartId: 1234, and commitCode as 101.
Logger 2: has EndId: 1234(which is same as start ID), WebOrderID: W789, Ccode: 111(which is Commitcode)
Logger 3: has EndID: 1234, sectionID: 4567

I want to display StartID,commitCode from Logger 1, sectionID from Logger3 and WebOrderID and Ccode from Logger 2. I am doing that only for StartIds that meet this condition "fraud-decision.received" "lineItemOverrides" NOT "lineItemOverrides=()" NOT commitCode=null

0 Karma

richgalloway
SplunkTrust
SplunkTrust

This should get you started.

<your search that meets the given condition> 
| stats values(*) as * by StartId 
| table StartId, commitCode, sectionID, WebOrderID, Ccode
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...