Forum Discussion
Jeff_Morrison_4
Nimbostratus
Apr 05, 2006Logging to syslog from iRule
I am wanting to send HTTP information to my syslog-ng server. I have tried to add logging to my iRule but I don't see any information being sent to the Local0 files on the F5.
I would appre...
Jeff_Morrison_4
Nimbostratus
Apr 05, 2006Copy of my iRule
when HTTP_REQUEST {
if { [HTTP::uri] contains "/Cust1"
or [HTTP::uri] contains "/Cust2"
or [HTTP::uri] contains "/Cust3"}{
pool WEB2-PICS
} elseif { [HTTP::uri] contains "/Cust4"
or [HTTP::uri] contains "/Cust5"}{
pool Prod_Web_Logic_7001
} elseif { [HTTP::uri] contains "/ABCDEFG"}{
HTTP::redirect https://www.domain.com/controller/
} else {
HTTP::redirect http://www.domain.com/eStmtF5Error.html
log local0.
}
}
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