Forum Discussion

crowe_262237's avatar
crowe_262237
Icon for Nimbostratus rankNimbostratus
Feb 09, 2019

How to log traffic containing a correlation ID in the header

Our app team sends request from their web servers that contains a correlation ID, we are trying to track down some errors and they are wanting to see that the request actually makes it to the API.

 

Is there an iRule that I can create that would log these correlation ids so we can see that the request is making it through the F5's in Azure? I have found an iRule here that logs HTTP headers but I need to adjust it I gather to include "correlation id"

 

  • JG's avatar
    JG
    Icon for Cumulonimbus rankCumulonimbus

    What exactly is the name of the "correlation id" header, and what other info do you need to log?

     

  • Thanks for your reply, I’m waiting on a response from the team because I found an iRule to log all header traffic which should be sufficient.

     

    They did advise it is various ID’s. I’ll add an update Monday with more specifics of what I already showed the isn’t enough.

     

    • crowe_381513's avatar
      crowe_381513
      Icon for Nimbostratus rankNimbostratus

      It is set in an HTTP header by itself. The API generates one for each transaction and puts it in the chipotle-correlationid header.