AQUILA - 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

  2. API Token

  3. Account ID and Zone ID

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:

Cloudflare 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


3. How to get the Account ID and Zone ID

1. Login to your Cloudflare account.
2. Head over to your Dashboard https://dash.cloudflare.com/.
3. Click your existing Domain.
4. The Account ID and Zone ID located in the right side after you clicked the existing Domain.

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 #15
Created 2 July 2025 11:23:51 by Richmond Abella
Updated 24 February 2026 08:39:21