Forum Discussion
Brian_69413
Nimbostratus
Apr 05, 2012Clone Pool by client IP not working
I am trying to clone syslog data coming into a VIP to a secondary pool. I have the below iRule. I see the traffic hit the main pool and I know the rule fires based on the logs, but not a thing hits ...
Brian_69413
Nimbostratus
Apr 30, 2012So here is my compromise:
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool syslog_pool]
}
when CLIENT_DATA {
if { [IP::client_addr] equals "10.10.10.10" }{
set dname [RESOLV::lookup @10.10.10.100 -ptr [IP::client_addr]]
scan $dname {%[^.]} shortname
HSL::send $hsl "<190> $shortname - [UDP::payload]"
}
}
We are filtering for the shortname in the syslog configuration
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