Splunk Search

Query - Splunk "DB Connect" app

coolgagan13
New Member

We are using Splunk "DB Connect" app running on search head to connect to remote MS SQL database and pull relevant information using desired SQL queries. Somehow for one of our requirements, the SQL query we built is actually a set of SQL statements that not only read the database but also write to it.

Is it possible to use that query via this app ?

Thanks,
Amar

Tags (2)
0 Karma

kristian_kolb
Ultra Champion

There is a 'Read Only" checkbox in the form in Manager where you define new external database connections. I guess that unchecking it allows for you to do INSERT, DELETE, DROP etc.

Have NOT tested it 🙂

/K

0 Karma

kristian_kolb
Ultra Champion

Sorry, I just gave what little information I had. As I said, I have not tested it.

0 Karma

coolgagan13
New Member

Thanks Kristian. But that option is still in Beta phase correct ? And what if our SQL query has more then one SELECT statements ?

Thanks,
Amar

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Data Management Digest – September 2026

    Welcome to the September 2026 edition of Data Management Digest! September brought a fresh wave of ...

Federated Search for CloudWatch Unified Data Store Is Generally Available

As organizations modernize their cloud environments, AWS workloads generate more security, operational, and ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...