Docs » クラウドサービスプロバイダーに接続する » Google Cloud Platformへの接続 » Google Cloud Platformへの接続:ガイド付きセットアップとその他のオプション

Google Cloud Platformへの接続:ガイド付きセットアップとその他のオプション 🔗

GCP アカウントを接続して、次の方法で Splunk Observability Cloud にデータを送信できます:

注釈

接続する前に、必ず GCP 認証、権限、対応リージョン を読んでください。

ガイド付きセットアップでGCPに接続する 🔗

GCPに接続するには、以下の手順に従ってください:

1. Define a role for your GCP principal 🔗

ほとんどのシナリオで必要なアクセス許可が付属しているため、GCPの Viewer ロールを使用します。

ロールの権限をカスタマイズするには、GCP ロール権限 を参照してください。

2. Configure your GCP services 🔗

GCPサービスを設定するには:

  1. GCP アカウントにログインし、GCP Webコンソールで監視したいプロジェクトを選択します。

  2. Authenticate your GCP project using Workload Identity Federation or Service Account Keys. For more details, see Google アカウントを認証する.

注釈

複数のGCPプロジェクトを監視するには、プロジェクトごとにこのセクションで説明する手順を繰り返します。

3. Connect your GCP services to Splunk Observability Cloud and start the integration 🔗

By default, Splunk Observability Cloud monitors all supported services, and any new services added later are also monitored. When you set the parameters for your integration you can choose to import metrics from a subset of the available services.

注釈

Splunk はデータの可用性について責任を負わず、接続してからアカウントから有効なデータが表示されるようになるまで最大数分 (設定によってはそれ以上) かかることがあります。

Splunk Observability Cloud にログインし、Google Cloud Platform ガイド付きセットアップ を開きます。オプションで、ガイド付きセットアップに自分で移動することもできます:

  1. 左のナビゲーションメニューで、Data Management を選択します。

  2. Available integrations タブにアクセスするか、Deployed integrations タブで Add Integration を選択します。

  3. インテグレーションフィルターメニューで、By Use Case を選択し、Monitor Infrastructure のユースケースを選択します。

  4. Cloud Integrations セクションで、Google Cloud Platform タイルを選択し、Google Cloud Platform ガイド付きセットアップを開きます。

Authenticate with Workload Identity Federation (WIF) 🔗

  1. In the wizard, select Workload Identity Federation (WIF) as the authentication method.

  2. Continue to define the connection with GCP:

  • ポーリングレート。Splunk Observability CloudがGCPにメトリクスデータをポーリングする速度(秒単位)を、1分を最小単位、10分を最大単位として選択します。たとえば、値を300に設定すると、5分に1回メトリクスをポーリングします。

  • Specify if you want to use quota from the project where metrics are stored. See more at リソースに単一のプリンシパルを使用する.

  • Note that GCP metadata is automatically imported.

  1. Prepare your GCP account following the steps on the UI.

  2. Establish the connection:

  1. Select the data to import:

  • Specify which GCP services you want to monitor.

  • Optionally you can import additional data. See more at Import additional data.

Your GCP integration is now complete!

Authenticate with Service Account keys 🔗

  1. In the wizard, select Service Account keys as the authentication method.

  2. Continue to define the connection with GCP:

  • ポーリングレート。Splunk Observability CloudがGCPにメトリクスデータをポーリングする速度(秒単位)を、1分を最小単位、10分を最大単位として選択します。たとえば、値を300に設定すると、5分に1回メトリクスをポーリングします。

  • Specify if you want to use quota from the project where metrics are stored. See more at リソースに単一のプリンシパルを使用する.

  • Note that GCP metadata is automatically imported.

  1. Prepare your GCP account following the steps on the UI.

  2. Establish the connection:

  • Name your integration.

  • Project. Select Import service account keys to add a new project. Your project’s ID is automatically extracted from the imported file. Follow the prompts to authenticate it. For more details, see Google アカウントを認証する.

  • Select your access token.

  1. Select the data to import.

  • Specify which GCP services you want to monitor.

  • Optionally you can import additional data. See more at Import additional data.

Your GCP integration is now complete!

リソースに単一のプリンシパルを使用する 🔗

IAM では、認証方法(単一サービスアカウントまたはワークロード ID フェデレーション)に関係なく、プリンシパルと呼ばれる 1 つまたは複数のエンティティにリソースへのアクセスを許可することができます。

1つのプリンシパルを複数のプロジェクトで使用している場合、GCPはプリンシパルの元となるプロジェクトですべてのAPI使用クォータを追跡し、それによりインテグレーションでのスロットリングが発生することがあります。これを軽減するには、メトリクスが保存されているプロジェクトからクォータを使用する を選択します。このオプションを使用するには、プロジェクトに指定するプリンシパルに serviceusage.services.use 権限または Service Usage Consumer ロールが必要です。

詳細な説明は、GCP のドキュメントの Principals を参照してください。

Import additional data 🔗

On step 5 of the guided set-up you can configure the import of the following additional data:

  • Custom metric type domains. To list any additional GCP service domain names that you want to monitor, use commas to separate domain names in the Custom Metric Type Domains field. For example, to obtain Apigee metrics, add apigee.googleapis.com.

    • 利用可能な GCP メトリクスドメインの詳細については、Google Cloud メトリクス の公式 GCP ドキュメントを参照してください。

    • カスタムメトリクスタイプドメインの構文については、Splunk 開発者ドキュメントの Custom metric type domain examples を参照してください。

  • Compute metadata included list. If you select Compute Engine as one of the services to monitor, you can enter a comma-separated list of Compute Engine Instance metadata keys to send as properties. These metadata keys are sent as properties named gcp_metadata_<metadata-key>.

GCPに接続する代替手段 🔗

APIを使用してGCPを統合する 🔗

GCP API を使用して GCP と Splunk Observability Cloud を統合することもできます。

詳細は開発者ポータルの Integrate Google Cloud Platform Monitoring with Splunk Observability Cloud を参照してください。

Terraformを使用してGCPに接続する 🔗

Terraform を使って接続するには、Splunk Terraform を使ってクラウドサービスを接続する を参照してください。

次のステップ 🔗

セットアップを確認するには、セットアップページの最後にあるリストに表示されているGCPインテグレーションの詳細を調べます。

このページは 2025年04月11日 に最終更新されました。