Currently I’ve noticed that the timestamp on Graylog versus the timestamp on the log file are off by a second or two. I’m trying to figure out a way to take the timestamp from the log and use it on graylog. The log message includes timestamp as following: Wed Mar 07 10:42:24 2018. This is different than how graylog looks at timestamp. 2018-03-07T15:42:24.850Z.
So I guess my question is, how to change the format of my log message to match graylogs setting and then insert it as the timestamp.
Thanks in advance