Riverbed SteelHead のログを収集する
このドキュメントでは、Bindplane エージェントを使用して Riverbed SteelHead ログを Google Security Operations に取り込む方法について説明します。
Riverbed SteelHead は、広域ネットワーク全体でアプリケーションのパフォーマンスを高速化するための WAN 最適化アプライアンスです。パーサーは、SteelHead ログエントリからフィールドを抽出し、統合データモデル(UDM)にマッピングして、ネットワーク フローの詳細、認証イベント、セキュリティ結果、システム メタデータをキャプチャします。
始める前に
次の前提条件を満たしていることを確認してください。
- Google SecOps インスタンス
- Windows Server 2016 以降、または
systemdを使用する Linux ホスト - Bindplane エージェントと Riverbed SteelHead アプライアンス間のネットワーク接続
- プロキシの背後で実行している場合は、Bindplane エージェントの要件に従ってファイアウォール ポートが開いていることを確認します。
- 管理者権限を持つ Riverbed SteelHead 管理コンソールへの特権アクセス
Bindplane エージェントの Google SecOps 認証情報を取得する
Bindplane エージェントを Google SecOps に対して認証するには、次のいずれかの方法を選択します。
- 新しいデプロイ: Chronicle API を使用します(オプション 1)。
- 以前のデプロイ: 2027 年 7 月 20 日に Ingestion API が廃止されるまで、取り込み認証ファイル(オプション 2)を引き続き使用します。
オプション 1: Chronicle API のサービス アカウントを作成する(推奨)
- Google Cloud コンソールにログインし、Google SecOps インスタンスにリンクされている Google Cloud プロジェクトを選択します。
- [IAM と管理] > [サービス アカウント] に移動します。
- [サービス アカウントを作成] をクリックします。
- 次の構成情報を指定します。
- サービス アカウント名: アカウントの名前を入力します(例:
bindplane-ingest)。 - サービス アカウントの説明: 説明を入力します(例:
Bindplane agent log ingestion)。
- サービス アカウント名: アカウントの名前を入力します(例:
- [作成して続行] をクリックします。
- [このサービス アカウントにプロジェクトへのアクセスを許可する] セクションで、[ロールを選択] をクリックし、[Chronicle 編集者] を選択します。
- [続行] をクリックして [完了] をクリックします。
- 作成したサービス アカウントをクリックし、[キー] タブに移動します。
- [鍵を追加] > [新しい鍵を作成] の順にクリックします。
- [JSON] を選択し、[作成] をクリックします。鍵ファイルがパソコンにダウンロードされます。
- 鍵ファイルを Bindplane コレクタ ディレクトリ(Linux の場合は
/opt/observiq-otel-collector/ingestion-auth.json、Windows の場合はC:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json)にingestion-auth.jsonとして保存するか、config.yamlのcreds_file_pathを更新して、保存先のパスと一致させます。 - [IAM と管理] > [設定] に移動し、プロジェクト番号をコピーします。これは、エクスポータの構成に必要です。
オプション 2: 取り込み認証ファイルをダウンロードする(レガシー)
- Google SecOps コンソールにログインします。
- [設定] > [データ管理] > [収集エージェント] に移動します。SIEM のみのプラットフォームを使用している場合は、[設定] > [収集エージェント] に移動します。
- 取り込み認証ファイルをダウンロードします。
- Bindplane エージェントがインストールされるシステムにファイルを安全に保存します。
Google SecOps のお客様 ID を取得する
- Google SecOps コンソールにログインします。
- [Settings] > [Administration] > [Profile] に移動します。SIEM のみのプラットフォームを使用している場合は、[設定] > [プロファイル] に移動します。
[組織の詳細情報] セクションから [お客様 ID] をコピーして保存します。
Bindplane エージェントをインストールする
次の手順に沿って、Windows または Linux オペレーティング システムに Bindplane エージェントをインストールします。
Windows へのインストール
- 管理者としてコマンド プロンプトまたは PowerShell を開きます。
次のコマンドを実行します。
msiexec /i "https://github.com/observIQ/bindplane-agent/releases/latest/download/observiq-otel-collector.msi" /quietインストールが完了するまで待ちます。
次のコマンドを実行して、インストールの内容を確認します。
sc query observiq-otel-collectorサービスが RUNNING と表示されます。
Linux へのインストール
- root 権限または sudo 権限でターミナルを開きます。
次のコマンドを実行します。
sudo sh -c "$(curl -fsSlL https://github.com/observiq/bindplane-agent/releases/latest/download/install_unix.sh)" install_unix.shインストールが完了するまで待ちます。
次のコマンドを実行して、インストールの内容を確認します。
sudo systemctl status observiq-otel-collectorサービスが active (running) と表示されます。
その他のインストール リソース
その他のインストール オプションとトラブルシューティングについては、Bindplane エージェントのインストール ガイドをご覧ください。
syslog を取り込んで Google SecOps に送信するように Bindplane エージェントを構成する
構成ファイルを探す
Linux:
sudo nano /opt/observiq-otel-collector/config.yamlWindows:
notepad "C:\Program Files\observIQ OpenTelemetry Collector\config.yaml"
構成ファイルを編集します。
config.yamlの内容全体を次の構成に置き換えます。receivers: udplog: listen_address: "0.0.0.0:514" exporters: chronicle/steelhead: protocol: https # Region of your instance, for example us, europe, asia-southeast1 location: <LOCATION> # Project number of the Google Cloud project linked to the instance project: '<PROJECT_NUMBER>' compression: gzip creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json' customer_id: '<customer_id>' endpoint: chronicle.googleapis.com log_type: STEELHEAD raw_log_field: body service: pipelines: logs/steelhead: receivers: - udplog exporters: - chronicle/steelhead
構成パラメータ
各プレースホルダを次のように置き換えます。
レシーバーの構成:
udplog: プロトコルに基づくレシーバー タイプ。udplog(UDP syslog の場合)tcplog(TCP syslog の場合)syslog: RFC 3164/5424 syslog
0.0.0.0: リッスンする IP アドレス。0.0.0.0: すべてのインターフェースでリッスンします(推奨)。- 1 つのインターフェースでリッスンする特定の IP アドレス
514: リッスンするポート番号(514、1514、6514など)
エクスポータの構成:
<customer_id>: 前のステップのお客様 IDlocation:<LOCATION>は、Google SecOps インスタンスのリージョン(us、europe、asia-southeast1など)に置き換えます。エクスポーターは、chronicle.googleapis.comの前にこの値を付加します。完全なリストについては、リージョン エンドポイントをご覧ください。project:<PROJECT_NUMBER>を、[IAM と管理] > [設定] のプロジェクト番号に置き換えます。endpoint:chronicle.googleapis.comに設定したままにします。creds_file_pathを、プラットフォームに応じてサービス アカウントの JSON キーファイルのパス(オプション 1)に調整します。- Linux:
/opt/observiq-otel-collector/ingestion-auth.json - Windows:
C:\Program Files\observIQ OpenTelemetry Collector\ingestion-auth.json
- Linux:
以前の Ingestion API エクスポータ
オプション 2 の取り込み認証ファイルを使用する場合は、
exportersブロックを次のように置き換えます。creds_file_pathを取り込み認証ファイルのパスに設定します。インスタンスが米国以外にある場合は、malachiteingestion-pa.googleapis.comをリージョン エンドポイント(例:europe-malachiteingestion-pa.googleapis.com)に置き換えます。exporters: chronicle/steelhead: compression: gzip creds_file_path: '/opt/observiq-otel-collector/ingestion-auth.json' customer_id: '<customer_id>' endpoint: malachiteingestion-pa.googleapis.com log_type: STEELHEAD raw_log_field: body
構成ファイルを保存する
- 編集が完了したら、ファイルを保存します。
- Linux:
Ctrl+O、Enter、Ctrl+Xの順に押します。 - Windows の場合: [ファイル] > [保存] をクリックします。
- Linux:
Bindplane エージェントを再起動して変更を適用する
Linux で Bindplane エージェントを再起動するには、次のコマンドを実行します。
sudo systemctl restart observiq-otel-collectorサービスが実行されていることを確認します。
sudo systemctl status observiq-otel-collectorログでエラーを確認します。
sudo journalctl -u observiq-otel-collector -f
Windows で Bindplane エージェントを再起動するには、次のいずれかのオプションを選択します。
管理者としてコマンド プロンプトまたは PowerShell を実行します。
net stop observiq-otel-collector && net start observiq-otel-collectorサービス コンソール:
Win+Rを押し、「services.msc」と入力して Enter キーを押します。- observIQ OpenTelemetry Collector を見つけます。
- 右クリックして [再起動] を選択します。
サービスが実行されていることを確認します。
sc query observiq-otel-collectorログでエラーを確認します。
type "C:\Program Files\observIQ OpenTelemetry Collector\log\collector.log"
Riverbed SteelHead の syslog 転送を構成する
- SteelHead Management Console にログインします。
- [Administration] > [System Settings] > [Logging] に移動します。
- [Remote Syslog] セクションまでスクロールします。
- [Add] をクリックして、新しいリモート syslog サーバーを追加します。
- 次の構成情報を指定します。
- サーバー IP アドレス: Bindplane エージェント ホストの IP アドレスを入力します(例:
192.168.1.100)。 - ポート:
514を入力します(Bindplane レシーバー ポートと一致する必要があります)。 - プロトコル: [UDP] を選択します(Bindplane レシーバー タイプと一致する必要があります)。
- サーバー IP アドレス: Bindplane エージェント ホストの IP アドレスを入力します(例:
[適用] をクリックします。
UDM マッピング テーブル
| ログフィールド | UDM マッピング | ロジック |
|---|---|---|
| ephemeral_id_label, request_consumer_chain_label, sport_label, event_id_label, port_label, transport_label, sock_label, id_label, remote_inner_port_label, lport_label, rport_label, outer_lport_label, sfe_port_label, cfe_port_label, configuration_parameters_label, response_consumer_chain_label, client_connected_label, sportid_label, storeid_label, wan_tos_label, lan_tos_label, lan_classid_label, wan_classid_label, lan_classid_ingress_label, wan_classid_ingress_label, irm_region_label, irm_site_label, irm_environment_label, tag_labels | additional.fields | さまざまなラベル フィールドから統合 |
| auth_mechanism | extensions.auth.mechanism | 条件に基づいて「LOCAL」に設定 |
| extensions.auth.type | 条件に基づいて「TACACS」または「AUTHTYPE_UNSPECIFIED」に設定されます。 | |
| host.architecture | hardware.cpu_platform | host.architecture に設定 |
| intermediary、intermediary3 | intermediary | intermediary と intermediary3 から統合 |
| agent.type、agent.version | intermediary.application | 「%{agent.type} %{agent.version}」に設定します。 |
| agent.type, agent.id | intermediary.asset_id | 「%{agent.type}: %{agent.id}」に設定します。 |
| agent.name, inter_hostname | intermediary.hostname | 空でない場合は agent.name の値、それ以外の場合は inter_hostname |
| @createTimestamp | metadata.collected_timestamp | @createTimestamp からコピー |
| descript、desc、description、netflow.tcp_control_flags | metadata.description | descript の値(空でない場合)。空の場合は desc、desc も空の場合は description。description も空の場合は「TCP Control Flags: %{netflow.tcp_control_flags}」に設定 |
| ts, log_timestamp | metadata.event_timestamp | 日付が一致する場合は ts から設定し、一致しない場合は日付が一致する log_timestamp から設定する |
| metadata.event_type | 「NETWORK_FLOW」に設定され、条件に基づいて変更されます。 | |
| logstash.ingest.timestamp | metadata.ingested_timestamp | logstash.ingest.timestamp の日付一致を使用して変換 |
| event_data | metadata.product_event_type | event_data に設定 |
| log_id | metadata.product_log_id | log_id に設定 |
| metadata.product_name | 「Steelhead」に設定 | |
| metadata.vendor_name | 「Riverbed」に設定 | |
| network.community_id | network.community_id | network.community_id に設定 |
| network.direction | network.direction | [BROADCAST、INBOUND、OUTBOUND] のいずれかの場合、大文字の network.direction に設定します。 |
| response_code | network.http.response_code | response_code から整数に変換 |
| network.transport | network.ip_protocol | UNKNOWN でない場合は、大文字の network.transport に設定します。 |
| network.bytes | network.sent_bytes | network.bytes から uinteger に変換 |
| logstash.collect.host | observer.hostname | IP でない場合は logstash.collect.host に設定 |
| observer.ip、collect_ip | observer.ip | observer.ip の値。logstash.collect.host が IP の場合は collect_ip とマージされます。 |
| observer.port | observer.port | observer.port から整数に変換 |
| source.ip、log.source.address、src_ip、cfe_ip、principal_user | principal.asset.ip | さまざまな IP ソースから統合 |
| source.ip、log.source.address、src_ip、cfe_ip、principal_user | principal.ip | さまざまな IP ソースから統合 |
| src_mac | principal.mac | src_mac に設定 |
| source.port、src_port | principal.port | source.port または src_port から整数に変換されます。 |
| cmd_line | principal.process.command_line | cmd_line に設定 |
| user_name | principal.user.email_addresses | メールパターンに一致する場合は user_name に設定 |
| user_name | principal.user.user_display_name | メールパターンに一致しない場合は user_name に設定 |
| userid | principal.user.userid | userid に設定 |
| security_result | security_result | security_result からマージ |
| event.category | security_result.category_details | event.category 配列から統合 |
| sec_description | security_result.description | sec_description に設定 |
| syslog_severity | security_result.severity | (?i)(DEFAULT|DEBUG|INFO|NOTICE) に一致する場合は INFORMATIONAL、(?i)ERROR の場合は ERROR、(?i)WARNING の場合は MEDIUM、(?i)(CRITICAL|ALERT|EMERGENCY) の場合は HIGH に設定します。 |
| syslog_severity | security_result.severity_details | syslog_severity に設定 |
| ハードウェア | target.asset.hardware | ハードウェアから統合 |
| hostname、host.hostname | target.asset.hostname | 空でない場合は hostname の値、それ以外の場合は host.hostname |
| destination.ip、target_ip、sfe_ip、ips | target.asset.ip | destination.ip、target_ip、sfe_ip、host.ip 配列からマージ |
| host.id | target.asset_id | 「Host Id: %{host.id}」に設定します。 |
| hostname、host.hostname | target.hostname | 空でない場合は hostname の値、それ以外の場合は host.hostname |
| destination.ip、target_ip、sfe_ip、ips | target.ip | destination.ip、target_ip、sfe_ip、host.ip 配列からマージ |
| target_mac, macs | target.mac | target_mac 配列と host.mac 配列からマージ |
| host.os.platform | target.platform | host.os.platform が (?i)centos と一致する場合は「LINUX」に設定し、それ以外の場合は大文字の host.os.platform に設定します。 |
| host.os.kernel | target.platform_patch_level | host.os.kernel に設定 |
| host.os.version | target.platform_version | host.os.version に設定 |
| destination.port、target_port | target.port | destination.port または target_port から整数に変換 |
| uri | target.url | URI に設定 |
| target_user | target.user.userid | target_user に設定 |
ts |
event.idm.read_only_udm.metadata.event_timestamp |
変更履歴からマッピング |
desc |
event.idm.read_only_udm.metadata.description |
変更履歴からマッピング |
target_user |
event.idm.read_only_udm.target.user.userid |
変更履歴からマッピング |
principal_ip |
event.idm.read_only_udm.principal.ip |
変更履歴からマッピング |
変更ログ
さらにサポートが必要な場合 コミュニティ メンバーや Google SecOps のプロフェッショナルから回答を得ることができます。