Layer7 API Management

 View Only

How to log current counter value of the Rate Limit Assertion

  • 1.  How to log current counter value of the Rate Limit Assertion

    Posted Aug 25, 2019 11:31 PM
    Hi 

    We are using Apply Rate Limit Assertion and then setting Limit Each  to custom with value ${service.oid}-${request.http.header.X-Forwarded-For[0]} . To restrict request rate per customer (IP). is there a way to log counter value before calling Rate Limit Assertion. 

    From the documentation we are supposed to get Log message Rate limit exceeded on rate limiter  , but this is when we use Throttle  option.

    Is there a way to get some log to say we are delaying request when we use Shape option.

    thanks
    Ravinder