blob: 94c1a5016d05aae18aa9fec39340989c5ed4ee69 [file] [log] [blame]
teoyaomiqui5f074302017-04-11 15:03:55 +03001applications:
2- rsyslog
3classes:
4- service.rsyslog.support
5parameters:
6 _param:
7 rsyslog_port: 10514
8 rsyslog:
9 server:
10 enabled: true
11 module:
12 imtcp: {}
13 template:
14 RemoteStorage:
15 parameter:
16 type: string
17 string: /var/log/%HOSTNAME%/%programname%.log
18 ruleset:
19 RemoteLogs:
20 description: action(type="omfile" dynaFile="RemoteStorage")
21 input:
22 imtcp:
23 port: ${_param:rsyslog_port}
24 ruleset: RemoteLogs