All Apps and Add-ons

db query access

a212830
Champion

Hi,

How do I give access to the dbquery command to users via DB Connect? It works for admin, but nobody else. When a power user attempts the same query, it says "unknown search command"

0 Karma

barakreeves
Splunk Employee
Splunk Employee

Great question. You will need to do some additional configuration. Essentially, you will need to edit the $SPLUNK_HOME/etc/apps/dbx/metadata/local.meta file to provide additional permissions to non-admins.

Here are some links that will point you in the right direction.

http://splunk-base.splunk.com/answers/76006/dbquery-command-permissions
http://docs.splunk.com/Documentation/DBX/1.0.9/DeployDBX/Securityandaccesscontrols

0 Karma

barakreeves
Splunk Employee
Splunk Employee

I'm glad it worked. Yes. Of course, this type of "security" is no substitute for db server security. The doco link I gave you touches on that...just a friendly reminder 🙂

0 Karma

a212830
Champion

Worked. Thanks. So, looking at this, can I lock down access to the databases using this method as well?

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...