Forum Discussion
Gill_32697
Nimbostratus
Mar 18, 2015Remote Logging Syslog
I am needing to only send local0.notice messages to a remote syslog server. currently im sending to much local6.info messages. If tried the Gui menu Logs:Configuration:Options and other tmsh command...
TJ_Vreugdenhil
Cirrus
Mar 18, 2015Hi Gilbert,
How about this?
sys syslog {
auth-priv-from notice
auth-priv-to emerg
console-log enabled
cron-from warning
cron-to emerg
daemon-from notice
daemon-to emerg
description none
include "
filter f_custom {
(level(notice))
;
};
destination d_loghost {
udp(\"x.x.x.x\" port(514));
};
log {
source(s_syslog_pipe);
filter(f_custom);
destination(d_loghost);
};"
iso-date disabled
kern-from notice
kern-to emerg
local6-from notice
local6-to emerg
mail-from notice
mail-to emerg
messages-from notice
messages-to warning
remote-servers none
user-log-from notice
user-log-to emerg
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects