Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Timestamp Logging Value -1

Hello,

I was looking at the timestamp flow variables available to be used in a messageLogging policy. I wanted to calculate some metrics based on these timestamps in an external tool.

It looks like my client sent.end and sent.start are always empty no matter what.

client.sent.end.timestamp
-1
GET
client.sent.start.timestamp
-1
GET

I created some assign message policy to assign some debug variables and I placed it at all sections of the flow (Request-preflow, request-postflow, response-preflow, response-postflow). No matter what the values are always empty.

mlan01_0-1725899857848.png

The variables with debug.* are my tests. Here is the flow:

mlan01_1-1725899922100.png

What am I missing here?
Thank you to anyone who has ideas. 

 

Solved Solved
0 4 619
1 ACCEPTED SOLUTION

Hello all. Thank you for the comments.

I figured this out. The reason why I was not seeing the timestamps populated is because the logging policy was executed in "PostFlow" flow and not the "PostClientFlow".

When I was reading the documentation I thought that PostClientFlow = PostFlow. I have since discovered this is not the case. This makes me wonder what other flows are hidden?

Also, I am not clear on what the difference between Postflow and PostClientFlow really is.

I added the following to the proxy config:

<PostClientFlow name="PostClientFlow">
    <Request/>
    <Response>
      <Step>
        <Name>FC-logging</Name>
      </Step>
    </Response>
  </PostClientFlow>


mlan01_0-1727098191442.png

 

mlan01_1-1727098375716.png

Thank you all

 

 

View solution in original post

4 REPLIES 4