Layer7 API Management

  • 1.  Add milliseconds in policy manager

    Posted Dec 19, 2016 01:42 AM

    I am able to fetch the complete time in seconds but not millisecond.

    I created a context variable as below screenshot.I am able to get seconds using ${Currentime.seconds} but i am not able to get milliseconds when i try doing using ${Currentime.Milliseconds}.

    Can you please help?

     



  • 2.  Re: Add milliseconds in policy manager
    Best Answer

    Posted Dec 19, 2016 05:03 AM

    Hi Sonia,

     

    I tried to replicate what you have done. I do get the milliseconds

     

     

    Have you set the level of logging to warning?

     

    Here is the policy

     

    and here is the context variable

    You may want to check the the format as well.

     

    Regards

    Seenu Mathew



  • 3.  Re: Add milliseconds in policy manager

    Posted Dec 19, 2016 05:16 AM

    Yes.Thank you so much



  • 4.  Re: Add milliseconds in policy manager

    Posted Dec 19, 2016 05:21 AM

    Did you get this working Sonia? 

    If so, please can you mark my reply as correct