Giter Site home page Giter Site logo

Comments (5)

theangryangel avatar theangryangel commented on June 2, 2024

You need to give me more information about what the exception is.

I can't fix a problem when I don't know what the problem is.

Edit: At minimum I need to know

Logstash version
Plugin version
Exception message
JDBC driver you're using

from logstash-output-jdbc.

longjq avatar longjq commented on June 2, 2024

Logstash version
2.3.3

Plugin version
logstash-output-jdbc (0.2.7)

Exception message

//input data = {"id"=>33,"name"=>"jack","type"=>"big"}

output {
    jdbc {
          ....
          ...
          statement => [ "insert into tb_name(`id`,`name`,`type`) values(?,?,?)", "id","name","type" ]
   }
}

Can`t Insert,Logstash problem looks like a new version of the ** type ** caused by keywords

JDBC driver
mysql-connector-java-5.1.36-bin.jar

from logstash-output-jdbc.

theangryangel avatar theangryangel commented on June 2, 2024

I've just spun up a virtual machine and had no problem. I'm using MySQL 5.5.49, JDBC 5.1.36, and the same version of the plugin and Logstash as you.

Can you give me the text from the log when an exception happens. It should say something like:

JDBC Exception encountered: Will automatically retry. {:exception=> ....

I need the full line please.

Edit: I've also just pushed 0.2.9 to rubygems. Can you also try updating and seeing if that helps. Thank you.

from logstash-output-jdbc.

theangryangel avatar theangryangel commented on June 2, 2024

If you're still getting this problem with 0.2.10 or 0.3.0 please let me know. I believe it's now resolved.

from logstash-output-jdbc.

longjq avatar longjq commented on June 2, 2024

i'm sorry, Is I made a mistake, the program running success ~~

from logstash-output-jdbc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.