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!

Building Reliable Asset and Identity Frameworks in Splunk ES

  Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...