How to configure rsyslog in high precision (milliseconds) mode

Solution Verified - Updated -

Issue

  • Is it possible to record log timestamps to millisecond accuracy (high precision)?

  • var/log/messages and other log locations are recorded only in seconds by default.

  • How to add greater accuracy to rsyslog timestamps?

  • How to get more accurate timestamps for rsyslog?

Environment

  • Red Hat Enterprise Linux 6 or 7

  • Red Hat Enterprise Linux 5 with rsyslog installed and not syslog

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.