Product Documentation

Enabling Web Insight Data Collection

Aug 21, 2014

When AppFlow is enabled for Web Insight data collection, the NetScaler Insight Center retrieves the performance reports of web applications (load balancing and content switching virtual servers) that are bound to the NetScaler ADC.

To enable data collection on a virtual server for Web Insight

  1. On the Configuration tab, click Inventory.
  2. From the inventory list, select the IP address of the ADC on which you want to enable data collection.
  3. On the NetScaler Insight Center Inventory Setup screen, in the Application List pane, from the View drop-down list, select the type of virtual server (Load Balancing, Cache Redirection, or Content Switching).
    Note: Before enabling data collection on cache redirection servers, enable cache redirection on the NetScaler ADC.

    The virtual servers of the specified type populate a table that includes the following information:

    • IP Address—IP address of the virtual server
    • Name—Name of the virtual server
    • State— Current operational state of the virtual server. Can be UP or DOWN
    • Type—Service type of the virtual server
    • Insight—Data-collection status of the virtual server (ENABLED or DISABLED)
  4. Select a virtual server for which you want to enable data collection.
    Note: You can enable data collection on a virtual server only if the operational state of the virtual server is UP.
  5. From the Action drop-down list, select Enable Appflow.
  6. In the Enable AppFlow dialog box, from the Select Expression drop-down list, specify the traffic to be filtered by selecting one of the available expressions or by manually typing the expression. You can also use multiple expressions by using the logical operators AND (&&) or OR (||).

    The following are examples of some expressions that can be used:

    • To collect information about HTTP requests where URL contains the word images, specify the expression HTTP.REQ.URL.CONTAINS("images")

    • To collect information about HTTP virtual servers which have greater than 15000 connections, specify the expression HTTP.REQ.LB_VSERVER.CONNECTIONS.GE(15000)
    • To collect information about HTTP requests where URL suffix is not json and css, specify the expression HTTP.REQ.URL.SUFFIX.EQ("json").NOT && HTTP.REQ.URL.SUFFIX.EQ("css").NOT
    • To collect information about HTTP requests where hostname contains the word and HTTP requests where cookie contains the word JSESSIONID, specify the expression HTTP.REQ.HOSTNAME.CONTAINS("")&&HTTP.REQ.COOKIE.CONTAINS("JSESSIONID")
    • To collect the information for all the traffic that flows through the virtual server, specify the expression true

    For more information on expressions, see Policies and Expressions.

    Note: After enabling data collection on a virtual server, if you want to edit the expression that you selected, select the virtual server, and then select Edit AppFlow Expression from the Action drop-down list.
  7. Select the HTML Injection check box. When this option is selected, the web insight reports will include information about load time and render time, which is useful for comparing the performance of web applications.
    Note: On NetScaler 10 appliances, the HTML Injection feature is available only for Platinum licenses. On NetScaler 10.1 appliances, it is available for all licenses.
  8. Click OK to save the configuration. If data collection is enabled, the Insight column in the Application List table for that virtual server displays the word Enabled.
    Note: If AppFlow logging is not enabled for the respective services or service groups on the NetScaler appliance, the NetScaler Insight Center dashboard does not display the records, even if the Insight column shows Enabled.
  9. To return to the inventory list, from the Action drop-down, select Return to Inventory list.