Translated message

A translation of this page exists in English.

rsyslog を使用して、ログの出力元ホスト毎に別のログファイルに出力するにはどのようにすれば良いですか?

Solution Verified - Updated -

Issue

  • syslogデーモンは、リモートからのログを、ホスト毎に別ファイルに出力する事をサポートしていないようですが、rsyslog を使用した場合は、どのように設定すれば良いですか?

  • リモートからのログを別々のファイル(例えば、host1.log、host2.logというように)出力したり、日付毎に出力(host1-20120912.log というように)するにはどのようにすれば良いですか?

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • rsyslog

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