All Apps and Add-ons

Splunk DB Connect 2: Why am I getting error "Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed. Use the CONVERT function to run this query"?

vistate
Explorer

Good morning,

I have set up Splunk DB Connect 2 up to tail my rising column 'abc' column # 1.

The first import works correctly. I receive my top 1000 * from data.

On the next run, where it adds the {{$rising column$ > ?}} it begins to error out.

Here is the error (Note sybase ase)

06/16/2015 08:26:36 [ERROR] [ws.py] [DBInput Service] ERROR: Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed.  Use the CONVERT function to run this query.

Why in the world is it converting the rising column value which i see in the inputs.conf as 1001 to a var char? The column is an int. Is there anything I can do for the rising column query to use an int? What am i doing wrong?

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee

Could be the JDBC driver, or it could be us. A support ticket is in order.

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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