mirror of https://github.com/grafana/loki
promtail: Add support for using syslog message timestamp (#2914)
Currently promtail sets the timestamp of incoming syslog messages to the time it was received by promtail. In some cases, it is preferable to use the source timestamp instead. This adds a new `use_message_timestamp` option to the syslog target config, which allows users to opt-in to the behavior of using the timestamp on the message, if one exists.pull/2922/head
parent
bdf8dca5b1
commit
f0d4adc53d
Loading…
Reference in new issue