Forum Discussion
Does any have examples of using x-correlation-ID in an iRule?
We have a request to forward x-correlation-ID to the back end servers. Does anyone have an example of an iRule using this?
- Leonardo_Souza
Cirrocumulus
Based on Wikipedia:
https://en.wikipedia.org/wiki/List_of_HTTP_header_fields
X-Request-ID and X-Correlation-ID are the same, and Wikipedia points to this link in relation to that:
https://stackoverflow.com/questions/25433258/what-is-the-x-request-id-http-header
Based on that, that is is something the client creates, based on a logic the server will send to the customer (I'm assuming that part). So, for F5, that is just another header F5 passed from the client to the server.
No iRule needed in that case, and no extra configuration in the F5.
- JanLee_J_349064
Nimbostratus
For security audit and troubleshooting reasons, a unique correlation ID can be passed from the front door (F5) to the application ( and passed forward from there ). The external client’s request ID could be incorporated into the correlation-id but should not be exactly the same since it may not be unique and may not be trustworthy. See these prior posts for additional, related information. https://devcentral.f5.com/questions/correlation-id-generated-by-an-irule
The post below is focused on unique visitors but in today’s world we generally need to correlate by request https://devcentral.f5.com/questions/how-to-generate-visitor-id-uuid
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