Getting Data In

How to match csv file with standard search

retziel
New Member

Hi,

 

I need your help 🙂

 

I have a standard query like this:

index=a foo

and I need to return only the record that match with a list of information in a CSV (or even in a lookup table).

Please note that doesn't exist in the index=a a specific field like the info in the csv.

Example of CSV:
Name
Andrew
John
Michael

Thanks in advance.

Labels (2)
0 Karma

AnilPujar
Path Finder

index=a [| inputlookup csv_file.csv| dedup Name | table Name]

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 ...