Manage via the Cloudflare UI
Before enabling Cloudflare Logpush, make sure that you have already configured a destination in your cloud service.
To enable the Clouflare Logpush service:
Log in to the Cloudflare dashboard
Ensure the Enterprise domain you want to use with Logpush is selected
Select the Analytics app in the top menu
Select the Logs section in the secondary menu
Select Connect a service. A modal window opens where you will need to complete several steps
Under Select service, pick your cloud service provider and click Next
For Amazon S3, enter or select the following:
- Bucket path
- Daily subfolders
- Bucket regionEncryption constraint in bucket policy
- For Grant Cloudflare access to upload files to your bucket, make sure your bucket has a policy (if you did not add it already):
- Copy the JSON policy, then go to your bucket in the Amazon S3 console and paste the policy in Permissions > Bucket Policy and click Save
For Google Cloud Storage, enter or select the following:
For Microsoft Azure, enter or select the following:
For Sumo Logic, enter or select the following:
In the Cloudflare dashboard, click Validate access
Follow the on-screen instructions to enter the Ownership token (included in a file or log Cloudflare sends to your provider), then click Prove ownership
Next in the Customize log screen, select the data set in which you're interested (currently
Spectrum events). You can keep the default fields to include in your log or make changes. You can add or remove fields at a later time by modifying your settings in Logs > Logpush (select the wrench icon).
To finish enabling Logpush, click Save and Start Pushing
Once connected, Cloudflare lists the provider you just configured under Logs > Logpush. This is where you can make changes or remove the provider.