vallesm77_95699
Feb 16, 2012Nimbostratus
Search a Record In data-group
Hello,
I don't find the good syntax (v11).
I want to search a record on Data-group and init a variable
If my data-group contains only one Record it's ok by the command :
set var [findclass "ForbiddenUrl" [class get VIP_Internet] " "]
log local0. "$var"
Result
==> redirect http://website.fr
My data-group
ltm data-group internal /Common/VIP_Internet {
records {
"ForbiddenUrl redirect http://website.fr" { }
}
type string
}
But if the data-group contains 2 (or much) records the command don"t work.
I must not use the correct command.
How do you do ?
Thanks