NetScaler Console service

Configure analytics on virtual servers

Starting from 14.1-21.x build, all the discovered virtual servers and the subsequent virtual servers are automatically licensed. You can proceed to configure analytics.

You can configure analytics in two ways. Navigate to Settings > Analytics Configuration to view:

  • Virtual Server Analytics Summary - Enables you to configure analytics on the discovered virtual servers.

  • Global Analytics Summary - Enables you to configure analytics on both discovered and subsequent virtual servers.

    license-summary

Configure analytics on the discovered virtual servers

Note:

Ensure that the virtual servers you want to enable analytics are in UP status.

  1. Under Virtual Server Analytics Summary, click Configure Analytics.

    The All Virtual Servers page is displayed. You can:

    • Enable analytics

    • Edit analytics

    • Disable analytics

    Note:

    The supported virtual servers to enable analytics are Load Balancing, Content Switching, and NetScaler Gateway.

  2. Select the virtual servers and then click Enable Security & Analytics.

    Note

    Alternatively, you can enable analytics for an instance:

    1. Navigate to Infrastructure > Instances > NetScaler and then select the instance type. For example, VPX.

    2. Select the instance and from the Select Action list, select Configure Analytics

    3. On the Configure Analytics on Virtual Servers page, select the virtual server and click Enable Security & Analytics.

  3. On the Enable Security & Analytics window:

    1. Select the insight types.

    2. Select Logstream as Transport Mode.

      Note:

      For NetScaler 12.0 or earlier, IPFIX is the default option for Transport Mode. For NetScaler 12.0 or later, you can either select Logstream or IPFIX as Transport Mode.

      For more information about IPFIX and Logstream, see Logstream overview.

    3. Under Instance level options:

      • Enable HTTP X-Forwarded-For - Select this option to identify the IP address for the connection between client and application, through HTTP proxy or load balancer.

      • NetScaler Gateway - Select this option to view analytics for NetScaler Gateway.

    4. The Expression is true by default.

    5. Click OK.

      Note:

      • For admin partitions, only Web Insight is supported.

      • For virtual servers such as Cache Redirection, Authentication, and GSLB, you cannot enable analytics. An error message is displayed.

After you click OK, NetScaler Console processes to enable analytics on the selected virtual servers.

Note

NetScaler Console uses NetScaler SNIP for Logstream and NSIP for IPFIX. If there is a firewall enabled between NetScaler agent and NetScaler instance, ensure you open the following port to enable NetScaler Console to collect AppFlow traffic:

Transport Mode Source IP Type Port
IPFIX NSIP UDP 4739
Logstream SNIP TCP 5557

Edit analytics

To edit analytics on the virtual servers:

  1. Select the virtual servers.

    Note:

    Alternatively, you can also edit analytics for an instance:

    1. Navigate to Infrastructure > Instances > NetScaler and then select the instance type. For example, VPX.

    2. Select the instance and click Edit Security & Analytics.

  2. Click Edit Security & Analytics

  3. Edit the parameters that you want to apply on the Edit Analytics Configuration window.

  4. Click OK.

Disable analytics

To disable analytics on the selected virtual servers:

  1. Select the virtual servers.

  2. Click Disable Analytics.

NetScaler Console disables the analytics on the selected virtual servers.

The following table describes the features of NetScaler Console that supports IPFIX and Logstream as the transport mode:

Feature IPFIX Logstream
Web Insight
WAF Security Violations
Gateway Insight
HDX Insight
SSL Insight Not supported
CR Insight
IP Reputation
AppFirewall
Client Side Measurement
Syslog/Auditlog

Configure global analytics

You can enable global analytics by either creating a custom policy or a global policy.

Notes:

  • You can create only up to 10 policies. The policies can be a combination of nine custom policies and one global policy, or 10 custom policies.

  • If you have both (custom and global) policies, the insights that are selected in both policies are applied on the virtual servers. If you want to remove any insights, you must remove them manually.

Custom policy

Using a custom policy, you can control instances or virtual servers that only require specific insights. You might have hundreds of virtual servers configured through various NetScaler instances managed in your NetScaler Console. In some scenarios, you might want to apply selective insights (for example, Bot Security Violations and WAF Security Violations) only to some of the virtual servers or instances. For such scenarios, you can configure a custom policy, select specific analytics features, and apply it to the relevant instances and virtual servers.

To configure a custom policy:

  1. Under Global Analytics Summary, click Global Analytics Configuration.

    Global analytics

  2. Under Policy details, select Custom policy and specify a policy name of your choice.

    Note:

    You cannot edit the policy name later.

    Custom policy

  3. Under Define Conditions, create conditions by selecting the set of instance IPs or specific instances or virtual server name or both.

    Define conditions

  4. Under Enable analytics, select the analytics feature type.

    Note:

    If you enable Apply this analytics settings on the subsequent virtual servers, analytics will be applied to the subsequent virtual servers based on the defined analytics features.

    Select analytics

  5. Click Save.

    Points to note:

    • If you modify the policy by removing an existing insight and adding another insight, the updated policy is applied with the new insight. If you want to remove any insight, you must manually delete the already configured insights.

      Consider that you have created a custom policy with HDX insight and Web Insight. If you update the policy to remove HDX Insight and add Bot Security Violations, the virtual servers/instances are updated with HDX Insight, Web Insight, and Bot Security Violations. If you want to remove HDX Insight, you must manually remove using the edit analytics option.

    • The same logic is also applicable if you delete an existing policy and create another policy by adding the same instances or virtual servers.

Global policy

Using the global policy, you can enable analytics on both discovered and subsequent virtual servers. To create a global policy:

  1. Under Global Analytics Summary, click Global Analytics Configuration.

  2. Under Policy details, select Global policy.

  3. Under Enable analytics, select the analytics feature type.

    Note:

    If you enable Apply this analytics settings on the subsequent virtual servers, analytics will be applied to the subsequent virtual servers based on the defined category.

  4. Click Save.

After configuration, the analytics is enabled on both discovered and subsequent virtual servers.

Points to note

  • Consider that you have configured the Global policy for the first time by selecting Web Insight, HDX Insight, and Gateway Insight. If you again change the analytics settings later and deselect Gateway Insight, the changes do not impact the virtual servers that are already enabled with analytics. You must manually remove the Gateway Insight on the virtual servers.

  • Consider that you have 10 virtual servers and two of them are already enabled with analytics using the Configure Analytics option. In this scenario, when you configure the Global policy, the analytics are applied only on the remaining eight virtual servers.

  • Consider that you have 10 virtual servers and you have manually disabled analytics for two virtual servers. In this scenario, when you configure the Global policy, the analytics are applied only on the remaining eight virtual servers and it skips the virtual servers that are manually disabled with analytics.

Configure analytics on virtual servers