Hello, resently I use logstash 5.4 and try to change the timezone like the way bellow.But it does not work. Is that any fault ? And how can I set the timezone? Thx,please.
filter{
mutate{
add_field => ["time","%{@timestamp}"]
}
date {
match => [ "time", "YYYY-MM-dd'T'HH:mm:ss.SSSZ"]
timezone => "America/Montreal"
}
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.