Collect data from Cloudflare

Most recent version: v0.0.1

circle-info

See the changelog of this Listener type herearrow-up-right.

circle-exclamation

Overview

Onum supports integration with Cloudflarearrow-up-right.

Select Cloudflare from the list of Listener types and click Configuration to start.

Prerequisites

Contact Onum to get the required JWT token, which will be needed on the Listener setup.

You can also contact us if you cannot generate the required TLS certificates. Note that these certificates must be signed by a recognized Certificate Authority (CA). Self-signed certificates are not accepted.

Cloudflare Setup

Cloudflare Logpush supports the ability to send logs to configurable HTTP endpoints. Follow these instructionsarrow-up-right to enable log sending before starting the configuration in Onum.

Onum Setup

1

Log in to your Onum tenant and click Listeners > New listener.

2

Double-click the Cloudflare Listener.

3

Enter a Name for the new Listener. Optionally, add a Description and some Tags to identify the Listener.

4

In the Socket section, enter the required Port. The port can be found in your Cloudflare dashboard under the Network tab. For custom applications, check your Cloudflare for Teams configuration under Access > Applications or Gateway > Policies for socket endpoints.

5

In the Authentication section, enter the token.

To find your Cloudflare authentication token:

  • Log in to the Cloudflare dashboard

  • Click on your profile icon in the top-right corner

  • Select My Profile from the dropdown menu

  • Navigate to the API Tokens tab and either:

    • Use an existing token (view its permissions to ensure it has appropriate access)

    • Create a new token by clicking Create Token

    • Use the Global API Key (found under API Keys section) for full account access

Remember that tokens are only displayed once at creation time, so copy and store them securely.

6

Open the Token Secret field and click New secret to create a new one:

  • Give the token a Name.

  • Turn off the Expiration date option.

  • Click Add new value and paste the secret corresponding to the Cloudflare token you received.

  • Click Save.

circle-info

Learn more about secrets in Onum in this article.

7

You can now select the secret you just created in the Token Secret field.

8

In the TLS configuration section, enter the required certificates (Certificate, Private key and CA chain).

circle-exclamation
9

Finally, click Create labels. Optionally, you can set labels to be used for internal Onum routing of data. By default, data will be set as Unlabeled. Click Create listener when you're done.

circle-info

Learn more about labels in this article.

Click Create listener when you're done.

Last updated

Was this helpful?