Bro timestamp JSON::TS_ISO8601 - how to get system time in log files


I am using JSON::TS_ISO8601 as time stamp format for json formatted logs. The date part is working fine, i.e. receiving current date but is there any settings for GMT offset as I am not getting the correct time of my timezone. Its even not taking it from my system.

Any suggestions?


Aneela Safdar

There is no mechanism right now to do anything but UTC in the json output. Are you sure that you want data with timezones? Most people are not served well with this approach since most systems prefer to store everything in UTC internally and change the output time to match whatever the viewer would like.