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!

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 ...