I'm getting an error while running logstash
" (ArgumentError) Cannot determine timezone from nil\n(secs:1720605029.799,utc~:"2024-07-10 09:50:29.7990000247955322",ltz~:nil)"
I have tried the solution from other threads, but didn't work.
The timezone of the server is ASIA/HONG_KONG. Here is my pipeline cofiguration:
input {
jdbc {
jdbc_driver_library => "C:/Users/XXXXX/Downloads/exajdbc.jar"
jdbc_driver_class => "com.exasol.jdbc.EXADriver"
jdbc_connection_string => "jdbc:exa:10.7.1.200/C7B0A2EC5D08CDBABBBCAACEE1C872CDBE548DC98B74A02EA57438AEA067FC8B:8563/exa_db?useTimezone=true&useLegacyDatetimeCode=false&serverTimezone=ASIA/HONG_KONG"
jdbc_user => "XXXXXX"
jdbc_password => "XXXXX"
plugin_timezone => local
jdbc_default_timezone => "ASIA/HONG_KONG"
TZ => "ASIA/HONG_KONG"
jdbc_paging_enabled => true
tracking_column => "login_time"
use_column_value => true
tracking_column_type => "numeric"
schedule => "*/5 * * * * *"
statement => "SELECT * FROM EXA_DBA_AUDIT_SESSIONS WHERE login_time > :sql_last_value ORDER BY login_time ASC"
}
}
filter {
}
output {
stdout { codec => "rubydebug"}
}
ELK stack version 8.14.2
Is there any solution?