Splunk Search

Separate the fields from a merged result

s_kandula
Observer

Hi

I have two events with following fields
Event 1
Log.Status : IN
TransactionTime : IN time
Tracking id: Unique ID (common between Event 1 and 2)

Event 2
Log.Status :OUT
TransactionTime: OUTtime
Trackingid

I merged the events using tracking ID and i got the required fields. But under transactionTime, I am seeing two times (IN and OUT) one below the other. Is there a way to list the times as separate fields in the merge results.

alt text

Tags (1)
0 Karma

to4kawa
Ultra Champion
0 Karma

s_kandula
Observer

Thanks , I was able to get two separate fields based on the Status using the eval command.

0 Karma

to4kawa
Ultra Champion

I see, please accept my answer.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...