forked from saltstack-formulas/rsyslog-formula
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpillar.example
18 lines (17 loc) · 1.33 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
rsyslog:
target: 192.168.100.1 # omit if you do not want to forward logs
# NOTE: be careful using target and listen on
# the same server, you can cause a loop
listentcp: true # omit to disable listening on tcp port
listenudp: true # omit to disable listening on udp port
imkllog: true # omit to log kernel messages
logbasepath: /mnt/logs # base path for logs to be saved to
# also enables logging per host, per day
filemode: '0640' # mode for created log files
dirmode: '0755' # mode for dirs created in log file paths
custom: # Put custom config files in /etc/rsyslog.d/.
- 001_custom1.conf # Files must be reachable from path `salt://rsyslog/`
- salt://some_other/002_custom2.conf # Or with an absolute path.
# The default is to include `salt://rsyslog/files/50-default.conf`.
# If you change the custom conf dict, make sure to
# include the 50-default.conf as well if needed.