Logging and statistics
In many cases, when load balancing web servers, you will want to have logging in place, which you can use to get detailed statistics of sessions that have gone against the web servers. By default, when setting up NetScaler, all traffic initiated will come from a Citrix SNIP address, which makes the log file useless as they all contain the same IP. One option that we can have is to use the Insert Client IP Address option. This will make NetScaler insert the client-ip, from where the original request comes within the HTTP header. By default, when this feature is enabled, the HTTP header will have the mark client-ip. This setting is enabled for each service and can be configured under Traffic Management | Load Balancing | Services | Settings | Insert Client IP address.
Also, for regular web-based traffic, we have the option to deploy Citrix NetScaler Insight. This allows for Appflow logging and provides detailed insights on the kind of web traffic that is being generated...