Apply Rate Limit Assertion Logging not working

Document ID : KB000103718
Last Modified Date : 31/07/2018
Show Technical Document Details
Question:
When applying a Rate Limit Assertion (throttle option), the documentation suggests that an Audit will be logged. In the audit logs for this gateway node, I'm not seeing any audits being logged for Rate Limiting when the appropriate limit is being triggered. How do I configure the Rate Limit Assertion to properly log when the assertion is triggered?
Answer:
Configure the following audit related cluster-wide property: audit.setDetailLevel.WARNING https://docops.ca.com/ca-api-gateway/9-3/en/reference/gateway-cluster-properties/audit-cluster-properties And add the audit code 6950. This raises the audit level to Warning and at that point it should appear in the logs when the Rate Limit Assertion is triggered.
Additional Information:
The reason this is required is because though the Apply Rate Limit Assertion does in fact log the event (6950), it is logged as INFO by default. As such, you won't be see the logs appear. Adding the audit code 6950 to the audit.setDetailLevel.WARNING cluster wide property raises the event to the WARNING level and is thus logged when triggered.