I get error Unable to configure plugins: (ArgumentError) Cannot determine timezone from nil

Hello guys! I want to run my logtstash connect to elastic using input jdbc.
Then i create conf file to run logstash but i always get this error, i try any changes in conf file but still not working. Anyone can help me to figure out this error? I am really stuck. Hope you guys can share the way to fix this case. Thank you!

You have to use in this format:

 date {
      match => [ "sometimefield", "yyyy/MM/dd HH:mm:ss" ] # set correct time format
      timezone => "Asia/Bangkok"
      target=> "@timestamp" # this is default fieldname
 }

Hi Rios!
Thank you for your help! But i still get the same error!
Would you mind, what is the command for looking the fieldname of the timestamp?
I must match the time format plugin into the logstash, right?

I assume the format "yyyy/MM/dd HH:mm:ss" is not correct. This was just an example.

Can you show a sample of your text field from the debug mode?

like this?

Is this your time sample: 2022-11-24 08:44:21.6500000953674316? For nanoseconds precision check this and this

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.