Security

Unknown search command 'return'

Parameshwara
Path Finder

When a query with 'return' command is run by a non admin user, it throws the error

Unknown search command 'return'

Has anyone encountered this and found a fix for this permission issue?

Tags (2)
1 Solution

MuS
Legend

Hi Parameshwara

update on this error:
the command 'return' is in the search app, so every user-role or app who likes to use the 'return' command, needs read access to the search app.

cheers, MuS

View solution in original post

MuS
Legend

Hi Parameshwara

update on this error:
the command 'return' is in the search app, so every user-role or app who likes to use the 'return' command, needs read access to the search app.

cheers, MuS

BernardEAI
Communicator

Thanks for this tip. 

I encountered the error message Unknown search command 'predict' in a panel that used the predict command from the MLTK. The origin of the problem was the same - my user did not have access right to the Search and reporting app. This is strange, since I did not think that app would be involved at all.

Tags (1)
0 Karma

MuS
Legend

update ping 🙂

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...