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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...