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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...