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!

Index This | What goes away as soon as you talk about it?

May 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this month’s ...

What's New in Splunk Observability Cloud and Splunk AppDynamics - May 2025

This month, we’re delivering several new innovations in Splunk Observability Cloud and Splunk AppDynamics ...

Getting Started with Splunk Artificial Intelligence, Insights for Nonprofits, and ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...