Which function cannot be used to create custom client logs?
Show answerHide answer
Correct answer: D Custom Alert Config
Explanation
Explanation:In VMware NSX Advanced Load Balancer (Avi), custom client logs can be generated through several mechanisms to capture specific request or response details. DataScripts can log custom messages, HTTP Response Policies can trigger logs based on responses, and Client Log Filters can selectively capture traffic. However, Custom Alert Config is used for system alerts and notifications, not for generating per-request client logs.
Correct Option:
D. Custom Alert Config –
Correct. Custom Alert Configurations are designed to monitor system events, health scores, and threshold breaches (e.g., high CPU, pool down). They send email, SNMP traps, or webhook notifications. They do not inject custom log entries per client request into client logs.
Incorrect Options (these CAN be used to create custom client logs):
A. DataScript log function –
Can be used. The log() function in DataScript writes custom messages to the client log. Example: log("Client IP: " + ip).
B. HTTP Response Policy –
Can be used. HTTP Response Policies can be configured to log custom information when specific response conditions (e.g., status code, header) are met.
C. Client Log Filter –
Can be used. Client Log Filters define criteria (e.g., client IP, URI, response code) to selectively log matching requests, effectively creating custom log content.
Reference:
VMware NSX Advanced Load Balancer Documentation: "Client Logging – Custom Log Methods" – lists DataScript, HTTP Response Policies, and Client Log Filters. Custom Alert Config is covered under system monitoring. Also referenced in NSX ALB Administration Guide and vDefend Load Balancing Configuration Guide.