The Mesos slave log file, which uses glog, doesn't have the year in it. It looks like this:
W0225 15:24:41.816625 7651 slave.cpp:2024] ......
I'm using filebeat to forward the logs to logstash. Is there any way in mesos to force it to put the year in the log file? Just adding the current year when logstash gets it puts a risk in there that it may put the wrong year when the year changes over.
I suspect I could have some logic that would check if the current month is 01, and the month in the incoming log is 12, use last year and not this year....
Anyone ever done a filter for this scenario? I'd rather have mesos just put the year in the log file though.