I am getting logs from a firewall which are in GMT timezone. For example firewall sending rt=Jun 16 2023 11:24:40 GMT I want to convert that time to MYT rt=June 16 2023 19:24:40 MYT.
I am not sending data to kibana or elasticsearch. I am sending them to seperate destination. In some other post i observed Ruby code filter can change the timezone and time value ?
Yeah, you would probably need to write a ruby code using the ruby filter to convert it them, Logstash date filter can only convert into UTC, not to other time zones.
Not sure what the code would like, but there are some examples in the forum.
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.