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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...