Forum Discussion
Adrien_Legros_1
Altostratus
Apr 13, 2012Insert the ASM support ID in the headers
We want to insert the ASM support id for each request that goes through the BigIP (Good or bad). When I tried the following code, I receive errors in the LTM logs.
I'm using version 11.1 hotfix 2...
hoolio
Cirrostratus
Apr 13, 2012Can you try HTTP_REQUEST_RELEASE instead?
when HTTP_REQUEST_RELEASE {
log local0. "\[ASM::violation_data\]: [ASM::violation_data]"
clientside {
Insert a header in requests with the ASM Support ID
log local0. "ASM-SUPPORT-ID: [HTTP::header ASM-SUPPORT-ID]"
HTTP::header insert ASM-SUPPORT-ID [lindex [ASM::violation_data] 1]
}
}
Aaron
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