Splunk Search

Lookup Table "vlookup" Function?

bcarr12
Path Finder

I am currently trying to correlate a field being extracted for user badge to a lookup table I created that include additional user attributes (full name for example) to make data charts more user friendly.

The lookup table includes fields userid and user_fullname. I have extracted userid values in my search but can't find a way to correspond userid with the user_fullname in the lookup table. What would be the best way to go about doing this?

bcarr12
Path Finder

I was able to accomplish this by piping to:

| lookup my_lookup_table userid

Within my search. This took the userid field I extracted from my results using rex and pulled in the related fields from my lookup table for each userid.

Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...