Splunk Search

Is there a REST endpoint for an admin level user to return all lookup table files, not just global?

pgullette
Explorer

I've noticed that calling the REST endpoint /services/data/lookup-table-files only returns global lookups. I'm making this call as an admin level user, and the behavior is the same. The only way I can view non-global lookups via REST is to query that specific apps namespace.

Is there no mechanism for an admin level user to get all lookups via REST without making multiple calls for each app?

Tags (3)
1 Solution

woodcock
Esteemed Legend

The only way that I know is to cull through all the results like this (which is what I do):

| rest/services/data/lookup-table-files | search eai:acl.app=MyApp

View solution in original post

woodcock
Esteemed Legend

The only way that I know is to cull through all the results like this (which is what I do):

| rest/services/data/lookup-table-files | search eai:acl.app=MyApp
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...