Forum Discussion
smp_86112
Cirrostratus
Feb 08, 2008STREAM::replace
I'm trying to write a simple iRule using a STREAM profile on an LTM running 9.1.2. According to the iRules wiki, the STREAM::replace was introduced in 9.0.0. However this simple iRule generates the er...
hoolio
Cirrostratus
Feb 11, 2008Sorry, I thought you'd gotten the answer in the other thread and was just updating this one to indicate the answer was in that one.
The STREAM::replace command just allows you to change the string which is inserted in place of the matched string in the stream profile. It won't accept multiple tokens. The syntax you're using is accepted in the STREAM::expression command. However, it looks like that command wasn't added until 9.2.
What are you trying to accomplish with the stream profile? Can you configure the find/replace strings in the stream profile attached to the VIP? Else, if you need more dynamic control over the stream expression, can you upgrade to 9.3.x?
Aaron
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