Forum Discussion
rmoss25
Altostratus
Apr 07, 2017Payload irule to send specficic event data to another pool
Hi,
Currently I have and iRule that sends and exact copy of data to two different pools. How do I just send specific data to pool A? so for example if I wanted to look in the payload and send anythi...
Kai_Wilke
MVP
Apr 09, 2017Hi Rmoss25,
you may use the iRules below to parse the incomming SYSLOG message for a specific keywords and forward the request which are containing the string "CISCO" additionally to pool A.
when CLIENT_ACCEPTED {
set hsl [HSL::open -proto UDP -pool pool_A]
}
when CLIENT_DATA {
if { [UDP::payload] contains "CISCO" } then {
HSL::send $hsl [UDP::payload]
}
}
Cheers, Kai
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