All Apps and Add-ons

DBConnect 3.0 - Invalid Query!??! (StoredProc support? Parse error?)

michaelba
Explorer

Splunk/DBConnect,

DBConnect 3.0 is unable to run our storedprocedure that is saved in the MS-SQLServer instance. Using SQL Management Studio, we've confirmed this storedprocedure returns 25 records.

  1. What are we overlooking?
  2. Why is DBConnect unable to retrieive the results?
  3. How can we disable 'selectMethod=cursor' for the connection object, I suspect this may be issue?

alt text

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

dbxquery supports stored procedures, inputs don't.

http://docs.splunk.com/Documentation/DBX/3.0.0/DeployDBX/Commands#procedure

0 Karma

michaelba
Explorer

No we can't use dbxquery because were trying to forward our data to Splunk Cloud.

What's the work around? The data needs to be forwarded from on-premise to splunk-cloud. We've been using inputs in DBConnect to do this, how do we get the same result given some of our data is coming from stored-procedures.

0 Karma
Get Updates on the Splunk Community!

Monitoring Postgres with OpenTelemetry

Behind every business-critical application, you’ll find databases. These behind-the-scenes stores power ...

Mastering Synthetic Browser Testing: Pro Tips to Keep Your Web App Running Smoothly

To start, if you're new to synthetic monitoring, I recommend exploring this synthetic monitoring overview. In ...

Splunk Edge Processor | Popular Use Cases to Get Started with Edge Processor

Splunk Edge Processor offers more efficient, flexible data transformation – helping you reduce noise, control ...