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!

Guided Onboarding with Auto-schema Is Now Generally Available

  We are excited to announce the General Availability of Guided Onboarding with Auto-Schematization ...

ATTENTION: We’re Moving! (AGAIN!)

The Splunk Community Slack is undergoing a system migration to keep our workspace secure and ...

Deep Dive: Optimizing Telemetry Pipelines in Splunk Observability Cloud

In this session, we will peel back the layers of Splunk Observability Cloud’s cost-optimization features. ...