Cloudian HyperStore ログを収集する

以下でサポートされています。

このドキュメントでは、Bindplane を使用して Cloudian HyperStore ログを Google Security Operations に取り込む方法について説明します。パーサーは、まず一連の grok パターンを使用して、SYSLOG メッセージからタイムスタンプ、IP アドレス、ユーザー名、説明などの関連フィールドを抽出します。次に、抽出されたフィールドを統合データモデル(UDM)の対応するフィールドにマッピングし、特定されたアクティビティに基づいて適切なイベントタイプを設定します。

始める前に

次の前提条件を満たしていることを確認してください。

  • Google SecOps インスタンス
  • Windows 2016 以降、または systemd を使用する Linux ホスト
  • プロキシの背後で実行している場合は、ファイアウォール ポートが開いていることを確認する
  • Cloudian HyperStore への特権アクセス

Google SecOps の取り込み認証ファイルを取得する

  1. Google SecOps コンソールにログインします。
  2. [SIEM 設定] > [コレクション エージェント] に移動します。
  3. Ingestion Authentication File をダウンロードします。Bindplane をインストールするシステムにファイルを安全に保存します。

Google SecOps のお客様 ID を取得する

  1. Google SecOps コンソールにログインします。
  2. [SIEM 設定] > [プロファイル] に移動します。
  3. [組織の詳細情報] セクションから [お客様 ID] をコピーして保存します。

Bindplane エージェントをインストールする

次の手順に沿って、Windows または Linux オペレーティング システムに Bindplane エージェントをインストールします。

Windows のインストール

  1. 管理者として コマンド プロンプトまたは PowerShell を開きます。
  2. 次のコマンドを実行します。

    msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quiet
    

Linux のインストール

  1. root 権限または sudo 権限でターミナルを開きます。
  2. 次のコマンドを実行します。

    sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.sh
    

その他のインストール リソース

その他のインストール オプションについては、インストール ガイドをご覧ください。

Syslog を取り込んで Google SecOps に送信するように Bindplane エージェントを構成する

  1. 構成ファイルにアクセスします。
    • config.yaml ファイルを見つけます。通常、Linux では /etc/bindplane-agent/ ディレクトリに、Windows ではインストール ディレクトリにあります。
    • テキスト エディタ(nanovi、メモ帳など)を使用してファイルを開きます。
  2. config.yaml ファイルを次のように編集します。

    receivers:
        udplog:
            # Replace the port and IP address as required
            listen_address: "0.0.0.0:514"
    
    exporters:
        chronicle/chronicle_w_labels:
            compression: gzip
            # Adjust the path to the credentials file you downloaded in Step 1
            creds_file_path: '/path/to/ingestion-authentication-file.json'
            # Replace with your actual customer ID from Step 2
            customer_id: <customer_id>
            endpoint: malachiteingestion-pa.googleapis.com
            # Add optional ingestion labels for better organization
            log_type: 'CLOUDIAN_HYPERSTORE'
            raw_log_field: body
            ingestion_labels:
    
    service:
        pipelines:
            logs/source0__chronicle_w_labels-0:
                receivers:
                    - udplog
                exporters:
                    - chronicle/chronicle_w_labels
    
    • 自社のインフラストラクチャでの必要性に応じて、ポートと IP アドレスを置き換えます。
    • <customer_id> は、実際の顧客 ID に置き換えます。
    • /path/to/ingestion-authentication-file.json の値を、Google SecOps の取り込み認証ファイルを取得するで認証ファイルを保存したパスに更新します。

Bindplane エージェントを再起動して変更を適用する

  • Linux で Bindplane エージェントを再起動するには、次のコマンドを実行します。

    sudo systemctl restart bindplane-agent
    
  • Windows で Bindplane エージェントを再起動するには、Services コンソールを使用するか、次のコマンドを入力します。

    net stop BindPlaneAgent && net start BindPlaneAgent
    

Cloudian Hyperstore Syslog を構成する

  1. CLI を使用して HyperStore Config Controller ノードにログインします。
  2. 次の hsctl コマンドを実行します。

    # hsctl config set logging.syslog.remote.enabled=true
    # hsctl config set logging.syslog.remote.host=<Bindplane Agent IP Address>
    # hsctl config set logging.syslog.remote.protocol=<UDP or TCP protocol>
    # hsctl config set logging.syslog.remote.port=<Bindplane Agent port number>
    # hsctl config apply ALL
    # hsctl service restart s3 iam hyperstore firewall --nodes=ALL
    # hsctl config set monitoring.agent.logging.level=INFO
    # hsctl config apply monitoring
    
  3. 次のように置き換えます。

    • <Bindplane Agent IP Address> は、実際の Bindplane エージェントの IP アドレスに置き換えます。
    • <UDP or TCP protocol>(Bindplane エージェントで構成されたプロトコル)。
    • <Bindplane Agent port number> は、実際の Bindplane エージェントのポート番号に置き換えます。

さらにサポートが必要な場合 コミュニティ メンバーや Google SecOps のプロフェッショナルから回答を得ることができます。