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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...