Forum Discussion
Requests with 307 responses not logged (missing) in ASM events
Hello
I have a vs named flane with waf policy and logging profile configured to log all requests. However, I've noticed that requests with HTTP 307 redirect responses are not being logged. To investigate, I created an irule to log all requests and responses. These logs appear correctly in the ltm log generated by the iRule, confirming the traffic flow.
What could be the reason for this? It doesn't seem to be a sporadic issue, as all requests with 307 responses are consistently not logged.
7 Replies
- Injeyan_Kostas
Cumulonimbus
307 redirect is a redirect by browser itself usually due to hsts.
So if 307 is not be sent by the server that's why you will never be able to log it.
- Emil_Tr
Altocumulus
If t is not sent by server, where are the HTTP 307 logs in ltm log coming from?
- Injeyan_Kostas
Cumulonimbus
Good point, in which irule event do you log them?
- M_Saeed
Cirrus
To set response codes, and to appear in the Application Event Logs (ex: 3xx, 4xx, 5xx)
https://my.f5.com/manage/s/article/K7922
check this and review per your AWAF policies
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