Splunk Dev

Splunk API seach results - certain lookup returns empty, while others are functioning

eshcharc
Explorer

Hello all,

I use Splunk API in order to export an SPL search.
All queries are working well on my local dev environment and most work on production server.

All queries that include or read from a certain query (let's call it "SessionEntities") seem to return empty.

For instance the query, " | inputlookup  SessionEntities", returns empty.

The same query works both localy and even stranger, works on Splunk search page on the same server, while with the same query and different lookup, it returns with results.

That lookup is no different than the others (no bigger content size), but still.

Anyone has an idea of why could this be happening?

0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Is the lookup visible to the user you are authenticating with for the API call?

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Is the lookup visible to the user you are authenticating with for the API call?

eshcharc
Explorer

@ITWhisperer  Double checked, and it was indeed an issue of permissions of the lookup transform

A big thank from me for helping!

0 Karma

eshcharc
Explorer

It seems to be no different than other working lookups on the same application. What else can I check other than the lookup's application permissions?

0 Karma
Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...