Connect Cloudflare
Cloudflare is a global cloud platform providing CDN, security, and edge computing services. The Cloudflare integration imports your billing history and subscription data into DoiT Cloud Intelligence so you can analyze Cloudflare costs in Cloud Analytics.
Prerequisitesโ
- A Cloudflare account with access to billing data.
- A DoiT account with the Billing Profiles Admin permission.
Required credentialsโ
| Field | Description | Where to find it |
|---|---|---|
| Account ID | Your Cloudflare account identifier | Cloudflare dashboard โ Overview โ Account ID (right sidebar) |
| API Token | API token with Billing:Read permission | Cloudflare dashboard โ Create Token |
Create an API tokenโ
-
Sign in to the Cloudflare dashboard.
-
Navigate to your profile โ API Tokens.
-
Select Create Token.
-
Under permissions, add Billing with Read access.
-
Select Continue to summary, then Create Token.
-
Copy the token.
CautionThe token is only shown once. Make sure to copy it before closing the page.
Connect your Cloudflare accountโ
-
Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrations โ Assets.
-
Select Cloudflare from the left-hand menu, and then select Connect new account.
-
Enter your Account ID and API Token.
-
Select Test connection to verify DoiT can access your Cloudflare billing data.
-
If the test is successful, select Save to complete the setup.
If the test fails or you need further assistance, please open an expert inquiry.
Upon initial connection, DoiT ingests your billing history. The import process can take a few hours. You'll receive an email when the data is available in Cloud Analytics.
Data refreshโ
DoiT refreshes your Cloudflare billing data daily. Data typically becomes available within 48 hours of being generated by Cloudflare.
Reporting dimensionsโ
Once connected, Cloudflare data maps to the following standard Cloud Analytics dimensions:
| Cloud Analytics dimension | Cloudflare value | Example |
|---|---|---|
| Provider | Cloudflare | Cloudflare |
| Billing Account | Account ID | 023e105f4ecef8ad9ca31a8372d0c353 |
| Project/Account ID | Zone name or account-level | example.com |
| Service | Billing entry type | charge, subscription |
| SKU | Charge description | Workers Paid, Pro Plan |
In addition to standard dimensions, the following Cloudflare-specific labels are available:
| Label | Description |
|---|---|
| Zone | The Cloudflare zone (domain) associated with the charge |
| Type | Billing entry type |
| Plan | Rate plan name (for subscriptions) |
| Product | Product name (for subscriptions) |
Delete your Cloudflare connectionโ
-
Sign in to DoiT Cloud Intelligence, navigate to Data ingestion and integrations โ Assets.
-
Select Cloudflare from the left-hand menu.
-
Select the three dots menu (โฎ) at the rightmost end of the account you want to remove and select Delete.
-
Select Delete to confirm.