回答編集履歴
1
一部編集
test
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
# Use default timestamp format
|
4
4
|
$template test,"%timegenerated% %hostname% (%syslogtag%) %msg%\n"
|
5
5
|
|
6
|
+
# 保存先・保存方法指定
|
6
7
|
$template syslog, "var/log/rsyslog/%fromhost%/%$year%%$month%/%$year%%$month%%$day%_%fromhost%.log"
|
7
8
|
|
8
9
|
#NW機器
|