logstash-plugins / logstash-input-jdbc

Logstash Plugin for JDBC Inputs
Apache License 2.0
449 stars 187 forks source link

logstash7.1同步oracle时区问题 #359

Closed hg199705 closed 4 years ago

hg199705 commented 5 years ago

我用的logstash7.1版同步oracle数据到es中,oracle中date(yyyy-mm-dd hh24:mi:ss)字段同步后都成了yyyy-mm-dd‘T’16:00:00.000Z格式,应该没有同步过来时分秒并早8小时的时间。不知道如何解决。

kares commented 4 years ago

for anyone not familiar with Chinese here's a translation :

I use logstash 7.1 to synchronize oracle data to es, the date (yyyy-mm-dd hh24: mi: ss) field in oracle has become yyyy-mm-dd'T'16: 00: 00.000Z format , There should be no synchronization over hours, minutes, seconds, and 8 hours earlier. Don't know how to solve it.

not sure what exactly is causing you issues but we generally recommend you ask questions in our forum and leave the tracker for errors and bug reports. maybe you could try re-phrasing the question there.