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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...