Splunk Search

lookup table and drop downs

daktapaal
Path Finder

Hi All,
I have created a lookup table of all the users by piping the search results to output lookup called users.csv.
I would need to now read the csv and populate a drop down… I looked up the resources, and nothing seems to be really working…

I saw the look up files using the manager and I can indeed see the loop up file there.

So my Questions are :

1) Is there a way to see the lookup file that the output lookup created? I mean see the contents of the file?
2) How do I use it to populate the drop down. This file contains only user information and nothing else.
3) is there some other alternate way of doing the same?

Tags (2)
0 Karma
1 Solution

somesoni2
Revered Legend

1) Yes, if the files is appearing as lookup table file, your can use following search to see its content
|inputlookup users.csv

remember that, lookup table file have sharing permission which defines its scope. So ensure that you give appropriate sharing permission before using it (generally global permission is used, all apps)

2) you can use the above search to populate a dropdown.
Samples here and here and here

View solution in original post

0 Karma

somesoni2
Revered Legend

1) Yes, if the files is appearing as lookup table file, your can use following search to see its content
|inputlookup users.csv

remember that, lookup table file have sharing permission which defines its scope. So ensure that you give appropriate sharing permission before using it (generally global permission is used, all apps)

2) you can use the above search to populate a dropdown.
Samples here and here and here

0 Karma

daktapaal
Path Finder

Thank you very much. I will try

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

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

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...