Hi Guys,
Does anyone know if it is possible to log dynamic variables (e.g. [HTTP::uri]) within a LTM policy code pre 12.x (on v11.6.1)? I read the following from here
Version 11.X:
Request dropped : [HTTP::uri]
Version 12.X:
tcl:Request Dropped : [HTTP::uri]
However I am unable to get the dynamic variables to log correctly.
I am only able to set a condition on the dynamic variable (e.g. [HTTP::uri]) and then statically log. e.g.
ltm policy /Common/lab-test-policy-v1.1 {
controls { forwarding }
requires { http }
rules {
log {
actions {
0 {
log
write
message "LAB_HEADER: YES"
}
}
conditions {
0 {
http-header
name LAB_HEADER
values { YES }
}
}
ordinal 1
}
}
strategy /Common/first-match
}
Is that the best I can do until I upgrade to 12 code? Thanks in advance. Foss