rfc3339 を使用した rsyslog リモートログ
Issue
-
rfc3339 を使用してカスタムのリモートログを設定するにはどうすれば良いですか?
-
以下のルールを使用するとリモートログで Framing エラーが出力されます。
$template rsyslog,"%timestamp:::date-rfc3339%,%HOSTNAME%,%msg%\n"エラーが以下のようになります。
Sep 12 05:13:29 test rsyslogd:Framing Error in received TCP message: delimiter is not SP but has ASCII value 45. Sep 12 05:13:41 test rsyslogd:Framing Error in received TCP message: delimiter is not SP but has ASCII value 58
Environment
- Red Hat Enterprise Linux 6
- Rsyslog
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
