How can I keep the timestamp of incoming logs in sync?


The clocks of my syslog-ng clients are not synchronized properly. This causes problems when creating files using the time macros.


As option

Using the '''keep_timestamp(no)''' option, syslog-ng uses the time of reception.

In templates

Use the date/time related macros with an "R_" prefix, like "R_DATE".