オペレーション

最終公開日 : Sep 25, 2026
Operations は StyleBook のオプションのセクションです。このセクションでは、NetScaler Console Analytics を構成して、すべてのトラフィックトランザクションまたは一部のトラフィックトランザクションで AppFlow レコードを収集できます。StyleBook を使用して NetScaler インスタンス上に作成された仮想サーバーは、トラフィックトランザクションを処理します。また、仮想サーバーで特定のトラフィック条件が満たされたときに、NetScaler Console がアラームをトリガーするように構成することもできます。
StyleBook を介して NetScaler Console を構成し、以下にリストされているさまざまな NetScaler Console インサイトからトラフィック統計を収集できます。
  • Bot インサイト
  • Web インサイト
  • Security インサイト
  • HDX™ インサイト
  • NetScaler Gateway インサイト
サポートされている仮想サーバーは、負荷分散、コンテンツスイッチング、および VPN 仮想サーバーです。
負荷分散またはコンテンツスイッチング仮想サーバーでの分析のために、Web インサイトと Security インサイトの両方、またはそのいずれかを有効にします。ただし、VPN 仮想サーバーの場合、HDX インサイトと NetScaler Gateway インサイトの両方、またはそのいずれかを有効にする必要があります。
StyleBook を介して NetScaler インスタンスで有効になっている NetScaler Console インサイトは、IPFIX プロトコル (AppFlow) を使用して、インスタンスから NetScaler にデータを送信します。
また、Web インサイトを有効にすると、負荷分散およびコンテンツスイッチング仮想サーバーで「Client-Side Measurements」が有効になります。この機能が有効になっていると、NetScaler Console は HTML インジェクションを介して、HTML ページの読み込み時間とレンダリング時間のメトリックをキャプチャします。これらのメトリックを使用して、管理者は L7 レイテンシーの問題を特定できます。
特定の NetScaler Console インサイトを有効にした後、アプリケーション概要ページを表示して、そのインサイトに関連付けられている脅威の詳細を確認します。
例 1:
次の例は、VPN 仮想サーバーで HDX インサイトと NetScaler Gateway インサイトの両方を有効にするために、StyleBook でオペレーションセクションを記述する方法を示しています。
name: simple-vpn-ops

namespace: com.example.stylebooks

schema-version: "1.0"

version: "0.1"

description: Test StyleBook to enable hdxinsight and gatewayinsight on a VPN vserver

import-stylebooks:

  -

    namespace: netscaler.nitro.config

    version: "10.5"

    prefix: ns

components:

  -

    name: vpnvserver-comp

    type: ns::vpnvserver

    properties:

      name: str("vpn-") + str($current-target.ip)

      servicetype: SSL

      ipv46: 1.1.21.37

      port: 443

operations:

    analytics:

      -

        name: comp-ops

        properties:

          target: $components.vpnvserver-comp

          filter: "true"

          insights:

            -

              type: hdxinsight
            -
              type: gatewayinsight

outputs:

  -

    name: myvpns

    value: $components.vpnvserver-comp
例2:
以下の例は、StyleBookでオペレーションセクションを記述し、負荷分散仮想サーバー上でWeb Insight、Security Insight、Bot Insightを有効にする方法を示しています。

---
name: enable-insights
namespace: com.acme.stylebooks
description: "This StyleBook enables Web,Security & Bot Insight on Load Balancing Vserver"
display-name: "SB Operations"
schema-version: "1.0"
version: "1.0"
import-stylebooks:
  -
    namespace: netscaler.nitro.config
    prefix: ns
    version: "10.5"

parameters:



 -
    name: lbname
    type: string
    required: true
  -
    name: vip
    type: ipaddress
    required: true
  -
    name: appflowfilter
    type: string
    required: true

components:
  -
    name: my-lbvserver-comp
    type: ns::lbvserver
    properties:
      name: $parameters.lbname
      servicetype: HTTP
      ipv46: $parameters.vip
      port: 80

outputs:
  -
    name: mylb
    value: $components.my-lbvserver-comp

operations:
  analytics:
    -
      name: lbvserver-op
      properties:
        target: $outputs.mylb
        filter: $parameters.appflowfilter
        insights:
          -
            type: webinsight
          -
            type: securityinsight
          -
            type: botinsight
Related information