Why cannot rsyslogd output the messages received via network with high precision timestamp even when RSYSLOG_FileFormat template is used

Solution Unverified - Updated -

Issue

  • I built a central syslog server with rsyslog on Red Hat Enterprise Linux 7.
  • It receives the messages from several remote servers, and output it into the local files.
  • As a default template, RSYSLOG_FileFormat is used to output messages with the high precision timestamp in the rsyslog configuration.
$ActionFileDefaultTemplate RSYSLOG_FileFormat
  • I found that the messages received via network were not output in high precision timestamp.

Environment

Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content