blob: 26ba09f12265d58f109c82d8d172d97c3ea0b9b0 [file] [log] [blame]
jan kaufman28d7d892015-12-04 21:36:59 +01001
2==================================
3rsyslog
4==================================
5
6In computing, syslog is a widely used standard for message logging. It permits separation of the software that generates messages, the system that stores them, and the software that reports and analyzes them.
7
8Sample pillars
9==============
10
jan kaufman1a4044c2016-03-10 18:51:58 +010011Rsyslog service with default logging template
12
13.. code-block:: yaml
14
15 rsyslog:
16 client:
17 enabled: true
18
19
20Rsyslog service with precise timestamps, severity, facility.
jan kaufman28d7d892015-12-04 21:36:59 +010021
22.. code-block:: yaml
23
24 rsyslog:
25 client:
26 enabled: true
27 format:
28 name: TraditionalFormatWithPRI
jan kaufman1a4044c2016-03-10 18:51:58 +010029 template: '"%syslogpriority% %syslogfacility% %timestamp:::date-rfc3339% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\n"'
jan kaufmanc19e7f72016-03-14 11:08:34 +010030 file:
31 owner: root
32 group: root
jan kaufmane46a25b2016-03-21 11:32:15 +010033 createmode: 0640
34 umask: 0022
jan kaufman1a4044c2016-03-10 18:51:58 +010035
jan kaufman28d7d892015-12-04 21:36:59 +010036
37Read more
38=========
39
40http://www.rsyslog.com/
41https://wiki.gentoo.org/wiki/Rsyslog
42https://github.com/saz/puppet-rsyslog