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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...