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!

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...