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...
tungsten_112959
Nimbostratus
Apr 26, 2007Hi Adrian, some question
If I created 2 logger for logging two different virtual pools, how can I perform logging to 2 different files rather than logging them into the ltm log file?
below is what I have done, but only loggerA can be logged, can we also do the same to loggerB?
- I created 2 HTTP logger iRule with name "http_A_logger" and "http_B_logger"
- change the following in the /etc/syslog-ng/syslog-ng.conf file. How can we also do for loggerB which logs to /var/Blogger? Thanks in advance.
local0.info /var/log/Alogger
filter f_local0.info {
facility(local0) and level(info) and match("http_A_logger");
};
destination d_Alogger {
file("/var/log/Alogger" create_dirs(yes));
};
log {
source(local);
filter(f_local0.info);
destination(d_Alogger);
};
local0.* /var/log/ltm
filter f_local0 {
facility(local0) and level(info..emerg) and not match("http_A_logger");
};
destination d_ltm {
file("/var/log/ltm" create_dirs(yes));
};
log {
source(local);
filter(f_local0);
destination(d_ltm);
};
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