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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...