fluentd loses milliseconds and now log messages are stored out of order in elasticsearch
问题 I am using fluentd to centralize log messages in elasticsearch and view them with kibana. When I view log messages, messages that occured in the same second are out of order and the milliseconds in @timestamp is all zeros 2015-01-13T11:54:01.000-06:00 DEBUG my message How do I get fluentd to store milliseconds? 回答1: fluentd does not currently support sub-second resolution: https://github.com/fluent/fluentd/issues/461 I worked around this by adding a new field to all of the log messages with