All Apps and Add-ons

DBX executing MS SQL stored procedure

drobMT
Explorer

I'm trying to use DBX (v3.3) to execute a stored procedure in one of our application databases. Not sure if I have a syntax problem here or not. The database is MS SQL and I can use DBX to execute queries against it so I know the connection is good.

The stored proc uses the following parameters:

 

@_StartTime (datetime, Input, No default)
@_EndTime (datetime, Input, No default)
@_Pool (nvarchar(256), Input, No default)
@_Interval (int, Input, No default)
@_WindowSize (int, Input, No default)

 

In SQL Management Studio I can execute the following and get results (2 lines)

 

EXEC [LcsCDR].[dbo].[CdrRegistrationSummary] @_StartTime = '20200615', @_EndTime = '20200616', @_Pool = null, @_Interval = 1440, @_WindowSize = 0; 

 

 

In Splunk using the following search returns no errors; no results.

 

| dbxquery procedure="{call LcsCDR.[dbo].[CdrRegistrationSummary](?, ?, ?, ?, ?)}" connection="SkypeBackEndSQL" params="2020-06-15,2020-06-16,null,1440,0"

 

 

Thoughts?

Labels (2)
Tags (3)
0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...