Forum Discussion
Amit_4274
Nimbostratus
Apr 13, 2014how to compare data-group values
ltm data-group testssl-ma {
records {
amit {
data AMIT2004.abc.com
}
a {
data abcd.abcd.com
}
b {
data AMIT2004.foofoo....
Amit_4274
Nimbostratus
Apr 15, 2014I am running v11.3 and below is my data-group. I would like to compare my input value ie amit.amit.com with data-group values ie amit.amit.com.au and abcd.abc.com.au and if match is found then do some action otherwise reject
ltm data-group internal /prt-a/testssl-ma {
records {
amit.amit.com.au { }
abcd.abc.com.au { }
}
type string
}
Is below irule will provide "abcd.abc.com.au" ??
when HTTP_REQUEST {
set compare_val abcd.abc.com.au
log local0.error "[class match -value $compare_val equals testssl-ma]"
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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