Forum Discussion
Josiah_39459
Historic F5 Account
So it sounds like you only want to send the log when "CustomerID" is actually found. So do your
set resp_custID [findstr [HTTP::payload] "CustomerID"
first and then check if { $resp_custID ne "" } {
before logging.Josiah_39459
Apr 11, 2016Historic F5 Account
The examples here don't help?
https://clouddocs.f5.com/api/irules/findstr.html
----------------------------------------------------------------------------------------
[findstr [HTTP::payload] "" 12 ""]