Forum Discussion
Aurel
Cirrus
Aug 28, 2013Remove characters from logging Irule entry
Hello,
I would like to remove the routing domain suffix "%1" in the log file i'm creating.
Here's a sample of my Irule.
when HTTP_REQUEST {
set client_ip [IP::remote_addr]
set log_m...
nitass
Employee
Aug 28, 2013can we use "string map"?
e.g.
% set clientip "192.168.1.5%1"
192.168.1.5%1
% put [string map {%1 ""} $clientip]
192.168.1.5
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