All Apps and Add-ons

Why does DB Connect App fail after first successful db input execution?

blacksun
New Member

I've created db input for new table MS SQL server. Query is quite simple:
query=SELECT * FROM "XXX"."dbo"."YYY$ZZZ" WHERE [Entry No_] > ? ORDER BY [Entry No_] ASC
Test execution work fine, job was successfully created
Data from first execution are indexed in splunk, but all next scheduled jobs fall with error:

2018-03-14 12:46:11.599 +0300 [QuartzScheduler_Worker-25] WARN c.s.dbx.connector.connector.impl.JdbcConnectorImpl - failed to execute query with paramtype, fallback to execute query without paramtype
java.sql.SQLException: Value 2017-11-09 09:06:35.56 cannot be converted to BIGINT.

Value is date and time column, and in first execution it was converted to _time with no errors.

Any suggestions?

PS I have another few jobs and they works fine all the time.
PSS DB connect ver 3.1.2

Labels (1)
0 Karma

daromar
New Member

did you ever find out the cause? I am currently facing the same issue with db connect 3.12.1

0 Karma
Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...