NG SIEM - Cloudflare Integration

Introduction

Cloudflare logs provide detailed insights into client connections, request paths through the Cloudflare network, and origin server responses. These logs help track activity, identify issues, and support security and performance analysis.


Authentication Options

You can configure log retrieval using the following authentication methods:

  1. Auth Email and Auth Key(Depreciated)

  2. API Token

For detailed information on authentication, refer to the Cloudflare API documentation.


1. Configure Using Auth Email and Auth Key

To set up using this method, you need:

These credentials must be included in the request headers:

For more details, refer to Cloudflare’s authentication headers guide.


2. Configure Using API Token

To set up using an API token, you need:

Minimum Required Permissions for the API Token:

API Tokens are preferred for security as they support fine-grained access control. Create and manage tokens via the API Tokens dashboard.

Manage Account>Account API Tokens>Custom Token>Get Started

image.png

image.png

image.png

curl -X GET "https://api.cloudflare.com/client/v4/user/tokens/verify" \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json"

image.png


Audit Logs

Audit logs provide a record of configuration changes within your Cloudflare account, including:

These logs are essential for tracking administrative activity and detecting unusual behavior.

 


To enable log collection from the Cloudflare API token, provide the following information to CyTech Support:

If you need further assistance, kindly contact support@cytechint.com for prompt assistance and guidance. 


Revision #2
Created 23 September 2025 08:12:26 by Richmond Abella
Updated 3 October 2025 13:54:42 by Richmond Abella