Splunk Search

MySQLConnector error while logged in as user

lelandmoore
New Member

I can run queries on my DB when logged in as admin but when logged in as a user I get the following error:
"PARSER: Applying intentions failed operation 'mysqlquery' is unknown. You might not have permission to run this operation."

I have granted read/write permission to everyone for the db connector and for the query itself.

What permissions needed to be granted to the user group to allow them to use MySQLConnector?

Tags (1)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

You need to give permission to the "mysqlquery" commmand itself to the users/groups. There may be other items as well, but that is what the error message is complaining about. You can find the item under "Manager>Advanced Search>Search Commands".

View solution in original post

gkanapathy
Splunk Employee
Splunk Employee

You need to give permission to the "mysqlquery" commmand itself to the users/groups. There may be other items as well, but that is what the error message is complaining about. You can find the item under "Manager>Advanced Search>Search Commands".

lelandmoore
New Member

That worked Thanks!

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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