File tree 4 files changed +29
-24
lines changed
files/image_config/rsyslog
4 files changed +29
-24
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,11 @@ template(name="WelfRemoteFormat" type="string" string="%TIMESTAMP% id=firewall t
67
67
#
68
68
# Remote syslog logging
69
69
#
70
+
71
+ # The omfwd plug-in provides the core functionality of traditional message
72
+ # forwarding via UDP and plain TCP. It is a built-in module that does not need
73
+ # to be loaded.
74
+
70
75
{% set servers = SYSLOG_SERVER | d ({}) -%}
71
76
{% for server in servers %}
72
77
{% set conf = servers [server ] | d ({}) -%}
Original file line number Diff line number Diff line change
1
+ [aliases]
2
+ test =pytest
Original file line number Diff line number Diff line change @@ -49,6 +49,17 @@ template(name="WelfRemoteFormat" type="string" string="%TIMESTAMP% id=firewall t
49
49
:::date-year%-%timereported:::date-month%-%timereported:::date-day% %timereported:::date-hour%:%timereported:::date-minute%:%timereported\
50
50
:::date-second%\" fw=\"kvm-host\" pri=%syslogpriority% msg=\"%syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\"\n")
51
51
52
+ #
53
+ # Remote syslog logging
54
+ #
55
+
56
+ # The omfwd plug-in provides the core functionality of traditional message
57
+ # forwarding via UDP and plain TCP. It is a built-in module that does not need
58
+ # to be loaded.
59
+
60
+ *.*
61
+ action(type="omfwd" Target="3.3.3.3" Port="514" Protocol="udp" Template="SONiCForwardFormat")
62
+
52
63
#
53
64
# Set the default permissions for all log files.
54
65
#
@@ -76,15 +87,3 @@ $RepeatedMsgReduction on
76
87
###############
77
88
#### RULES ####
78
89
###############
79
-
80
- #
81
- # Remote syslog logging
82
- #
83
-
84
- # The omfwd plug-in provides the core functionality of traditional message
85
- # forwarding via UDP and plain TCP. It is a built-in module that does not need
86
- # to be loaded.
87
-
88
- *.*
89
- action(type="omfwd" Target="3.3.3.3" Port="514" Protocol="udp" Template="SONiCForwardFormat")
90
-
Original file line number Diff line number Diff line change @@ -51,6 +51,17 @@ template(name="WelfRemoteFormat" type="string" string="%TIMESTAMP% id=firewall t
51
51
:::date-year%-%timereported:::date-month%-%timereported:::date-day% %timereported:::date-hour%:%timereported:::date-minute%:%timereported\
52
52
:::date-second%\" fw=\"kvm-host\" pri=%syslogpriority% msg=\"%syslogtag%%msg:::sp-if-no-1st-sp%%msg:::drop-last-lf%\"\n")
53
53
54
+ #
55
+ # Remote syslog logging
56
+ #
57
+
58
+ # The omfwd plug-in provides the core functionality of traditional message
59
+ # forwarding via UDP and plain TCP. It is a built-in module that does not need
60
+ # to be loaded.
61
+
62
+ *.*
63
+ action(type="omfwd" Target="3.3.3.3" Port="514" Protocol="udp" Template="SONiCForwardFormat")
64
+
54
65
#
55
66
# Set the default permissions for all log files.
56
67
#
@@ -78,15 +89,3 @@ $RepeatedMsgReduction on
78
89
###############
79
90
#### RULES ####
80
91
###############
81
-
82
- #
83
- # Remote syslog logging
84
- #
85
-
86
- # The omfwd plug-in provides the core functionality of traditional message
87
- # forwarding via UDP and plain TCP. It is a built-in module that does not need
88
- # to be loaded.
89
-
90
- *.*
91
- action(type="omfwd" Target="3.3.3.3" Port="514" Protocol="udp" Template="SONiCForwardFormat")
92
-
You can’t perform that action at this time.
0 commit comments