summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'