rmoss25
Apr 07, 2017Altostratus
Payload 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 anything that contained the word CISCO to just pool A and nothing else but continue to send Cisco and all the other data to Pool B. My current iRule to send equal copy of data to both pools is as follows but I want to just send CISCO to pool A
when CLIENT_ACCEPTED { set hsl [HSL::open -proto UDP -pool pool_A] set hsl1 [HSL::open -proto UDP -pool pool_B]
} when CLIENT_DATA { HSL::send $hsl [UDP::payload] }