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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...