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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...

Inside Event Intelligence: How ITSI Turns Network Alerts into Actionable Incidents

Tech Talk Inside Event Intelligence: How ITSI Turns Network Alerts into Actionable Incidents   Correlating ...

Observability Simplified: Combining User Experience, Application Performance & ...

  Tech Talk Network to App: Observability Unlocked   Today’s digital environments span applications, ...