Forum Discussion
Log HTTP Responses Generated by APM Policies
Good day all,
Is there a way to capture/log HTTP Response codes generated by APM through an iRule? The HTTP_RESPONSE event only captures response codes returned from the origin server. If an APM policy sends an HTTP RESPONSE CODE 302 (redirect), how can that information be logged? What iRule event provides access to HTTP events created when APM responds to HTTP REQUESTS?
- AceDawg1
Nimbostratus
According to https://clouddocs.f5.com/api/irules/ACCESS__restrict_irule_events.html, HTTP Response codes generated by APM are turned off by default. Add the following code to an iRule to enable access to HTTP Response codes from APM:
when CLIENT_ACCEPTED {
ACCESS::restrict_irule_events disable
}
Recent Discussions
Related Content
* 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