Forum Discussion
hooleylist
Jun 01, 2011Cirrostratus
You should use the full iRule. If you removed the else clause, you'd get a runtime error for every other client IP when the log_ua variable doesn't exist. The iRule as I wrote it will do what you're looking for and just log the User-Agent header for that specific client IP address.
Aaron