beefy80
May 08, 2015Nimbostratus
ASM Support ID in HTTP Header
I have been trying to get an iRule to add into a HTTP header the support ID however for some reason in 11.6.0 HF4 I cannot get this to work. Reading other threads I would expect the following to work. The irule is as follows:
when HTTP_REQUEST_RELEASE {
HTTP::header insert X-ASM-SUPPORT-ID [ASM::support_id]
}
When I try and save the iRule it errors with: 01070151:3: Rule [/dmz/irule_asm_supportid] error: /dmz/irule_asm_supportid:2: error: [command is not valid in current event context (HTTP_REQUEST_RELEASE)][ASM::support_id]
Has anyone got any ideas?
James