Loading

Cloudflare Integration

<div class="condensed-table">
| | |
| --- | --- |
| Version | 2.29.0 (View all) |
| Compatible Kibana version(s) | 8.13.0 or higher |
| Supported Serverless project types
What’s this? | Security
Observability |
| Subscription level
What’s this? | Basic |
| Level of support
What’s this? | Community |

</div>
Cloudflare integration uses Cloudflare’s API to retrieve audit logs and traffic logs from Cloudflare, for a particular zone, and ingest them into Elasticsearch. This allows you to search, observe and visualize the Cloudflare log events through Elasticsearch.

Users of Cloudflare use Cloudflare services to increase the security and performance of their web sites and services.

  1. In Kibana go to Management > Integrations
  2. In the "Search for integrations" search bar type Cloudflare.
  3. Click on "Cloudflare" integration from the search results.
  4. Click on Add Cloudflare button to add Cloudflare integration.

Enter values "Auth Email", "Auth Key" and "Account ID".

  1. Auth Email is the email address associated with your account.
  2. Auth Key is the API key generated on the "My Account" page.
  3. Account ID can be found on the Cloudflare dashboard. Follow the navigation documentation from here.
Note

See for X-AUTH-EMAIL and X-AUTH-KEY here for more information on Auth Email and Auth Key.

These logs contain data related to the connecting client, the request path through the Cloudflare network, and the response from the origin web server. For more information see here.

The integration can retrieve Cloudflare logs using -

  1. Auth Email and Auth Key
  2. API Token

More information is available here

Enter values "Auth Email", "Auth Key" and "Zone ID".

  1. Auth Email is the email address associated with your account.
  2. Auth Key is the API key generated on the "My Account" page.
  3. Zone ID can be found here.
Note

See for X-AUTH-EMAIL and X-AUTH-KEY here for more information on Auth Email and Auth Key.

Enter values "API Token" and "Zone ID".

For the Cloudflare integration to be able to successfully get logs the following permissions must be granted to the API token -

  • Account.Access: Audit Logs: Read

    1. API Tokens allow for more granular permission settings.
    2. Zone ID can be found here.

Audit logs summarize the history of changes made within your Cloudflare account. Audit logs include account-level actions like login and logout, as well as setting changes to DNS, Crypto, Firewall, Speed, Caching, Page Rules, Network, and Traffic features, etc.

These logs contain data related to the connecting client, the request path through the Cloudflare network, and the response from the origin web server. For more information see here.