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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...