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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...