Hi i am using ruby code in logstash as below and getting the time one hour less.
ruby {
code => "event.set('current_window_end', Time.now());"
}
if current time is 10 :00 (in London) getting the time as 9:00. i have used below code to change the time but not woking.
date {
match => [ "current_window_end", "ISO8601" ]
timezone => "Europe/London"
target => "current_window_end"
}
can some one please help.