diff options
author | Steffen Zieger <me@saz.sh> | 2013-10-05 16:29:04 +0200 |
---|---|---|
committer | Steffen Zieger <me@saz.sh> | 2013-10-05 16:29:04 +0200 |
commit | fe71d513ca5b78b6c80f39d27fa435834f9d0ceb (patch) | |
tree | 1b04a4b5488c099993f28bbceb01c087033b2453 | |
parent | ab76e280bbed0641eb3f4933cf272e4c14b5f178 (diff) | |
parent | 98721d9cf3b6e132e2fccf3caf493a093ac32fcc (diff) |
Merge branch 'master' of github.com:saz/puppet-rsyslog
-rw-r--r-- | README.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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' |