メインコンテンツまでスキップ

Cloudflare

Cloudflare is a web performance and security platform that provides services like CDN, DDoS protection, and DNS. It helps organizations make their websites faster, more secure, and reliable.

はじめに

To begin monitoring Cloudflare, ensure you have the following components and permissions in place:

  • OpenLM コンポーネント: Broker Hub で承認された OpenLM Cloud Broker。
  • プラットフォーム固有の要件: You'll need administrative access to your Cloudflare account to generate a Global API Key or specific API tokens with read permissions for analytics and user data.

データ収集の構成

Determine if you want a user token or an Account API token. Use Account API tokens if you prefer service tokens that are not associated with users and your desired API endpoints are compatible.

From the Cloudflare dashboard ↗, go to My Profile → API Tokens for user tokens. For Account Tokens, go to Manage Account → API Tokens.

Select Create Token.

Modify the token's permissions. After selecting a permissions group (Account, User, or Zone), choose what level of access to grant the token. Most groups offer Edit or Read options. Edit is full CRUDL (create, read, update, delete, list) access, while Read is the read permission and list where appropriate. Refer to the available token permissions for more information.

Select which resources the token is authorized to access. For example, granting Zone DNS Read access to a zone example.com will allow the token to read DNS records only for that specific zone. Any other zone will return an error for DNS record reads operations. Any other operation on that zone will also return an error.

(Optional) Restrict how a token is used in the Client IP Address Filtering and TTL (time to live) fields.

Select Continue to summary.

Review the token summary. Select Edit token to make adjustments. You can also edit a token after creation.

Select Create Token to generate the token's secret.

Copy the secret to a secure place.

  1. Add Credentials: In the OpenLM Cloud Broker dashboard, find the Cloudflare integration and enter the account ID and API token.

Cloudflare credential configuration in Cloud Broker Cloud Broker での Cloudflare 認証情報の設定

OpenLM Platform で Cloudflare を承認

  1. OpenLM Platform にサインインします。
  2. メニューから License ServersPending Server を開きます。
  3. Cloudflare データソースを選択し、Approve and Merge をクリックします。

連携の検証

  1. OpenLM Platform で Allocation を開きます。
  2. Cloudflare の利用状況データが表示されることを確認します。
注意

承認後、データの反映まで最大 3 分かかります。

レポートの閲覧

  • ユーザーアクティビティの推移 — プラットフォームで活発に活動しているユーザーを把握し、シートの再配分に活用できます。
  • 期限切れまたは未使用ライセンス — 非アクティブなユーザーを特定し、シートを回収します。

参考