Splunk Search

How could I map one existing field with another csv file by using automatic lookups?

Jennifer
Path Finder

Hi, all!

I have one existing field which is CHECKPOINT_ID from my table 1 and another csv file which contains an interpretation of CHECKPOINT_ID. 

I want to add a new column of GIVR_CALLFLOW_DEFINED_CHKPNT to my table 1 by using lookup!

 

Here is the table 1

Jennifer_1-1644398038850.png

Here's the csv file:

Jennifer_0-1644397686295.png

 

 

Labels (1)
Tags (1)
0 Karma
1 Solution

SanjayReddy
SplunkTrust
SplunkTrust

Hi @Jennifer 

Can you try with this?

<your query >|lookup <filename>  CHECKPOINT_ID OUTPUT GIVR_CALLFLOW_DEFINED_CHKPNT 

View solution in original post

SinghK
Builder

Initial query for table 1| lookup (your CSV) chexkpoint_id as checkpoint_id  OUTPUTNEW  (NEW FIELD FROM CSV)

field checkpoint_id , your new field

SanjayReddy
SplunkTrust
SplunkTrust

Hi @Jennifer 

Can you try with this?

<your query >|lookup <filename>  CHECKPOINT_ID OUTPUT GIVR_CALLFLOW_DEFINED_CHKPNT 

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

  &#x1f680; 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 ...