summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordima <pronix.service@gmail.com>2013-05-27 16:43:07 +0200
committerdima <pronix.service@gmail.com>2013-05-27 16:43:07 +0200
commita2fb60457b144a3b1f4142034d89e7af9e005bbf (patch)
tree3a12dd4516e85909ff00e8bd25ffc7462c4d1923 /README.md
parent962798488db91310b11b257c0c8b797c0236380d (diff)
read from file description
Diffstat (limited to 'README.md')
-rw-r--r--README.md15
1 files changed, 12 insertions, 3 deletions
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'