Forum Discussion
Robert_47833
Altostratus
Jun 01, 2011wanna record user_agent from specific client ip
Hi
I have a requirement
it seems impossible
we want to record user_agent from some specific client ip
when CLIENT_ACCEPTED {
if
{ [IP::addr [IP::client_addr] ...
Robert_47833
Altostratus
Jun 02, 2011oh,yes,hoolio
thanks very much
I tried to remove else clause,it has errors like this:
Jun 2 16:28:28 slot3/tmm err tmm[6309]: 01220001:3: TCL error: cjjtest - can't read "log_ua": no such variable while executing "if { $log_ua == 1 } { log local0. " 174.76.19.40 uses [HTTP::header value User-Agent]" }"
It means when execute
when HTTP_REQUEST {
if { $log_ua == 1 } ,bigip can't find log_ua with respect that some other ip ,right?
but it doesn't affect the whole process,right?
or can u tell me in which condition it will affect the process or performance?
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