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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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 am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...