From a2fb60457b144a3b1f4142034d89e7af9e005bbf Mon Sep 17 00:00:00 2001 From: dima Date: Mon, 27 May 2013 16:43:07 +0200 Subject: read from file description --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index d2e2dd5..e40405a 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,15 @@ Manage rsyslog client and server via Puppet port => '514', } ``` +for read from file +``` + rsyslog::imfile { 'my-imfile': + file_name => '/some/file', + file_tag => 'mytag', + file_facility => 'myfacility', + } + +``` #### Logging to a MySQL or PostgreSQL database @@ -106,9 +115,9 @@ Due to a missing feature in current RELP versions (InputRELPServerBindRuleset op remote logging is using TCP. You can switch between TCP and UDP. As soon as there is a new RELP version which supports setting Rulesets, I will add support for relp back. -By default, rsyslog::server will strip numbers from hostnames. This means the logs of -multiple servers with the same non-numerical name will be aggregrated in a single +By default, rsyslog::server will strip numbers from hostnames. This means the logs of +multiple servers with the same non-numerical name will be aggregrated in a single directory. i.e. www01 www02 and www02 would all log to the www directory. -To log each host to a seperate directory, set the custom_config parameter to +To log each host to a seperate directory, set the custom_config parameter to 'rsyslog/server-hostname.conf.erb' -- cgit v1.2.3