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!

Splunk Observability Synthetic Monitoring - Resolved Incident on Detector Alerts

We’ve discovered a bug that affected the auto-clear of Synthetic Detectors in the Splunk Synthetic Monitoring ...

Video | Tom’s Smartness Journey Continues

Remember Splunk Community member Tom Kopchak? If you caught the first episode of our Smartness interview ...

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud?

3-2-1 Go! How Fast Can You Debug Microservices with Observability Cloud? Learn how unique features like ...