input {
jdbc {
jdbc_driver_library => "/opt/jdbc/ifxjdbc.jar"
jdbc_driver_class => "com.informix.jdbc.IfxDriver"
jdbc_connection_string => "jdbc:informix-sqli://192.168.1.1:12345/mydb:SERVER=srvname;user=user;password=pass"
jdbc_user => "user"
jdbc_password => "password"
schedule => "* * * * *"
tracking_column => "createdate"
statement => "
select
*
from
mytable field0_
left outer join
Data additional1_
on field0_.ext=additional1_.ext
left outer join
Group groups2_
on field0_.ext=groups2_.ext
Error message when i run logstash:
[WARN ] 2023-05-09 13:40:01.241 [Ruby-0-Thread-26@[main]|input|Jdbc|scheduler_worker-00: :1] jdbc - Exception when executing JDBC query {:exception=>Sequel::DatabaseError, :message=>"Java::OrgJodaTime::IllegalInstantException: Illegal instant due to time zone offset transition (daylight savings time 'gap'): 1979-03-21T00:00:00.000 (Asia/Aden)", :cause=>"#<Java::OrgJodaTime::IllegalInstantException: Illegal instant due to time zone offset transition (daylight savings time 'gap'): 1979-03-21T00:00:00.000 (Asia/Aden)>"}
Hi Here is the logstash jdbc input config:
Logstash conf:
Error message when i run logstash:
when i run query on database return this:
Any idea? Thanks