Building for the Splunk Platform

How to access lookup with Splunk JS SDK?


Hi everyone,

I am trying to develop some apps in spunk with React and JS. I want to access Splunk lookup and get data from lookup but I do not see and function in SDK to help collect the lookup file. 

So how can I get the lookup file?. I think I can make a new search "| inputlookup" and get the search result.

Labels (2)
Tags (1)
0 Karma


You have two options in general for this

  • You can use an inputlookup search, as you suggested
  • You can create a custom rest endpoint to return the lookup contents to you

Running an inputlookup search is probably simpler, so if that option works for you, I'd suggest that.

0 Karma
Get Updates on the Splunk Community!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...