Splunk Search

Lookup question

Ip_Man5
Explorer

Hi,
I would like to know how to create a lookup for translating or replacing a field result into results from a csv file.

Transform

[category-lookup]

filename = category.csv

props

[business-category]

LOOKUP-lookup_category = category-lookup category OUTPUT category-test

Thanks,

Tags (1)
0 Karma
1 Solution

Ip_Man5
Explorer

It works thanks for the help

View solution in original post

0 Karma

Ip_Man5
Explorer

It works thanks for the help

0 Karma

Ip_Man5
Explorer

Thanks, I will try it out and let you know if it works

0 Karma

Ayn
Legend

Which field? category-test? (You should probably use _ instead of - there, if you're not seeing a field it might be because of that issue)

0 Karma

Ip_Man5
Explorer

The field result still come back as numeric, instead of whast listed in the csv file.

0 Karma

Ayn
Legend

Well that looks OK syntax-wise. What's the problem?

0 Karma
Get Updates on the Splunk Community!

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...

Unlock Instant Security Insights from Amazon S3 with Splunk Cloud — Try Federated ...

Availability: Must be on Splunk Cloud Platform version 10.1.2507.x to view the free trial banner. If you are ...