Forum Discussion
Luca_55898
Nimbostratus
Aug 28, 2011Too many syslogs!
Hi,
I'm trying to get my LTM cluster to send only warning and above syslog messages to my external syslogs server. It is currently sending debugging messages and flooding my syslog server with useless info.
I can't seem to get the LTM to send anything higher than debug. I have this config:
b syslog include
SYSLOG - Include Data:
destination remote_server {
udp("10.15.5.7" port (514));
};
filter f_alllogs {
level (warn...emerg);
};
log {
source(local);
filter(f_alllogs);
destination(remote_server);
};
Any ideas whats going on?
6 Replies
- nitass
Employee
is there any other syslog config besides syslog include?
can u check by running b syslog list? - Luca_55898
Nimbostratus
config b syslog list
syslog {
cron from err
daemon from err
include "
destination remote_server {
udp(\"10.15.5.7\" port (514));
};
filter f_alllogs {
level (warn...emerg);
};
log {
source(local);
filter(f_alllogs);
destination(remote_server);
};"
kern from err
kern to emerg
mail from err
mail to emerg
messages from warning
messages to crit
userlog from err
remote server mgmt {
host 10.15.5.7 - nitass
Employee
since u wanna use syslog include, syslog remote server is not needed.
please remove it and it will work as u want.
>remote server mgmt {
>host 10.15.5.7 - Luca_55898
Nimbostratus
thanks, that looks to have worked. - Luca_55898
Nimbostratus
Is there a difference between using the syslog include funtion, or using the remote server config?
Just wondering what the best way to do this is...
syslog include or
modify sys syslog remote-servers - nitass
Employee
syslog include is more ganular e.g. filter out some log level.
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