Cloudflare Logs

Connecting Cloudfare logs to your Panther Console

Overview

Panther supports ingesting Cloudflare logs via Cloudflare's Logpush service, which streams logs directly to Amazon Web Services (AWS) S3, Google Cloud Storage (GCS), or Azure Blob Storage.

Note that Cloudflare's Logpush is available to Cloudflare Enterprise customers only. While some Cloudflare log types on this page (e.g., Audit logs) may be pulled without Logpush, Panther's supported schemas rely on the data structure when delivered by Logpush.

How to onboard Cloudflare logs to Panther

You can ingest Cloudflare logs into Panther by streaming them to an S3 bucket, GCS bucket, or Azure Blob source.

Prerequisite

  • Create a new S3 bucket in your AWS account.

    • We recommend creating a new S3 bucket specifically for Cloudflare logs. You can use the default settings.

    • Note the region you are creating the bucket in, as you will need to provide it to Cloudflare.

Step 1: Set up the Cloudflare source in Panther

  1. In the left-hand navigation bar of your Panther Console, click Configure > Log Sources.

  2. Click Create New.

  3. Search for “Cloudflare,” then click its tile.

    • In the slide-out panel, the Transport Mechanism dropdown in the upper right corner will be pre-populated with the AWS S3 Bucket option. Leave this selection as-is, or select Google Cloud Storage or Azure Blob Storage.

  4. Click Start Setup.

  5. Follow Panther’s documentation for configuring your chosen Data Transport: AWS S3, Google Cloud Storage or Azure Blob Storage.

Step 2: Configure Logpush to stream logs to your cloud storage location

When choosing the dataset type for your Logpush job, note that Cloudflare has options for account-scoped data and zone-scoped data. Audit logs are account-scoped, whereas Firewall, HttpRequest, and Spectrum are zone-scoped.

Panther-managed detections

See Panther-managed rules for Cloudflare in the panther-analysis GitHub repository.

Supported log types

Cloudflare.Audit

When selecting event fields on the Cloudflare UI, make sure you include the When, ID, and ResourceType fields, as they are required by Panther.

Cloudflare.Firewall

When selecting event fields on the Cloudflare UI, make sure you include the "Datetime" field, as it is required by Panther.

Reference: Cloudfare Documentation on Log Field Firewalls.

Cloudflare.HttpRequest

When selecting event fields on the Cloudflare UI, make sure you include the "EdgeStartTimestamp" field, as it is required by Panther.

Reference: Cloudfare Documentation on Log Field Requests.

Cloudflare.Spectrum

When selecting event fields on the Cloudflare UI, make sure you include the "Timestamp" field, as it is required by Panther.

Reference: Cloudfare Documentation on Log Field Spectrum Events.

Last updated

Was this helpful?