This solution requires:
- NetScaler
- Auditing
- Auditing Message Actions
- VServers
- Responder/Rewrite policies
- Citrix Command Center
- Alarm Trigger
Resources for creating custom logging:
Quick template of how to setup message actions from Citrix.com.
http://support.citrix.com/proddocs/topic/ns-system-10-1-map/ns-ag-al-confrng-policy-based-logging-tsk.html.
This shows how to log an HTTP header using policy-based logging.
http://support.citrix.com/article/CTX125466
This shows how to setup the message action and how to bind that policy to a responder policy.
http://blogs.citrix.com/2011/08/25/log-what-and-when-you-want-%E2%80%93-all-the-way-from-layer-2-to-layer-7/
This shows how to configure email alerts on Citrix Command Center
http://support.citrix.com/article/CTX133137