Add syslog template per output file
Change-Id: Iad68aacf156be66732a2777ace3cc3756d5e46ca
diff --git a/README.rst b/README.rst
index 697eedb..7c014b0 100644
--- a/README.rst
+++ b/README.rst
@@ -71,6 +71,21 @@
umask: 0022
stop_processing: true
+Custom templates
+================
+
+It is possible to define a specific syslog template per output file instead of
+using the default one.
+
+.. code-block:: yaml
+
+ rsyslog:
+ output:
+ file:
+ /var/log/your-app.log:
+ template: ""%syslogtag:1:32%%msg:::sp-if-no-1st-sp%%msg%\\n""
+ filter: "if $programname startswith 'your-app' then"
+
Support metadata
================