Collect your Cloudflare events in the Coralogix platform using the automatic **Contextual Data Integration Package**.

## Overview

Cloudflare is a prominent technology company that offers a range of internet services aimed at enhancing security, performance, and reliability for websites and online applications. By operating as a content delivery network (CDN), Cloudflare optimizes the delivery of web content and mitigates cybersecurity threats like DDoS attacks by distributing traffic across its global network of servers. Additionally, Cloudflare provides services such as DNS management, load balancing, and firewall protection, helping businesses improve their online presence and user experience while safeguarding against various online threats.

Sending your Cloudflare events to Coralogix supports centralized log management, proactive monitoring, security analysis, and performance optimization. This integration helps you consolidate event data, set up custom alerts, detect security threats, identify performance bottlenecks, and maintain compliance, ultimately enhancing application security, reliability, and user experience through data-driven insights and actionable intelligence.

## Get started

1.

Access **Integrations**, then **Integrations**. Select **Contextual Data** under **Sections**.

2.

In the **Contextual Data** section, select **Cloudflare** and click **+** **ADD**.

3.

The integration panel opens. Click **Add New** to begin setup.

4.

Fill in the **Integration Details**:

- **Integration Name.** Name your integration.

- **Account ID.** In your Cloudflare account, go to the dashboard URL — the Account ID is the segment immediately after the hostname: `dash.cloudflare.com/<ACCOUNT_ID>/...`. Alternatively, open any domain, then **Overview**, and scroll down to the **API** section.

- **AccountName Subdomain.** Either your Cloudflare Account Name or a custom name used as the subsystem name in Coralogix.

**Authentication** — choose one of the following methods:

**Option 1: API Token (recommended)**

API Tokens limit access to only the permissions your integration needs. Requires integration package v0.1.0 or later.

- **API Token.** Create a scoped token in the Cloudflare Dashboard:
  1. Go to **My Profile**, then **API Tokens**, then **Create Token**.
  1. Select **Custom token**.
  1. Under **Account** permissions, add **Account Settings: Read**.
  1. Click **Continue to Summary**, then **Create Token**. Copy the token now — it will not be shown again.

**Option 2: Global API Key (legacy)**

- **Global API Key.** Go to **My Profile**, then **API Tokens**, then **API Keys**, then **Global API Key**, then **View** and copy the key.
- **Authentication Email.** The email address associated with your Cloudflare account.

5.

In the Coralogix integration page, click **Save**.

## Important note

Coralogix polls Cloudflare for new data every 10 minutes.
