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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...