Integrations

Cloudflare Audit Logs

cloudflare

Cloudflare customers can review audit logs for a user account, filter by who made the change, which zone (domain) was the change was made on, and the timeframe of the change. You can use Cloudflare UI for it but also you are allowed to pull those logs to Coralogix. Once you get the logs you can gain insights and visualize what changes where done recently and you can set alerts on specific ones.

To set the integration please contact Coralogix support through chat in our website www.coralogix.com or send us an email to support@coralogix.com with the following information:

  1. API Key – Cloudflare -> My Profile -> API Tokens -> Global API Key
  2. Authentication email – E-mail address you used for login to Cloudflare
  3. Account ID – Choose the account and in the right column there is a section API where you will find the Account ID

You can test if your credentials are correct by retrieving audit logs with the following curl command:

curl --location --request GET 'https://api.cloudflare.com/client/v4/accounts/<Account ID>/audit_logs?direction=desc&page=1&per_page=1' \
--header 'X-Auth-Email: <Authentication email>' \
--header 'X-Auth-Key: <API Key>' \
--header 'Content-Type: application/json'
  1. Account Name – It can be the Account Name or you can provide any other name which will be your subsystem name in Coralogix
  2. Company ID – Coralogix -> Settings -> Send your logs; in the left top corner
By default logs will be retrieved from Cloudflare every hour but once logs are indexed they will have the Cloudflare timestamp.

Start solving your production issues faster

Let's talk about how Coralogix can help you

Managed, scaled, and compliant monitoring, built for CI/CD

Get a demo

No credit card required

© 2021 Copyright Coralogix. All rights reserved.

Get a personalized demo

Jump on a call with one of our experts and get a live personalized demonstration