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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

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
SplunkTrust
SplunkTrust

update ping 🙂

0 Karma
Get Updates on the Splunk Community!

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...