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!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...