Forum Discussion
Tracy_Butler_90
Nimbostratus
Jul 06, 2006writing an irule to log all traffic
Need assistance with writing an irule to log all traffic flow. Support suggested that this should be done versus making changes to the syslog-ng file. I've tried making changes to syslog-ng file wit...
nathe
Cirrocumulus
Nov 06, 2012opers13
Try this:
include "
filter f_local0.info {
facility(local0) and level(info) and match("logger");
};
destination d_logger {
udp(\"10.160.161.253\" port (1026));
};
log {
source(local);
filter(f_local0.info);
destination(d_logger);
};"
Note the escaping backslashes. See this article: https://devcentral.f5.com/tutorials/tech-tips/ltm-942-custom-syslog-configuration
Hope this helps,
N
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