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
Complete the steps below based on your provider, then continue to step 8
For Amazon S3, enter or select the following:
- Bucket path
- Daily subfolders
- Bucket region
- Encryption 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:
- Bucket path
- Daily subfolders
- For Grant Cloudflare access to upload files to your bucket, make sure your bucket has a Cloudflare IAM user (if you did not add it already):
- See step 2 in Enable Google Cloud Storage
For Microsoft Azure, enter or select the following:
- SAS URL
- See Enable Microsoft Azure for instructions on creating this URL
- Blob container subpath (optional)
- Daily subfolders
- SAS URL
For Sumo Logic, enter or select the following:
- HTTP Source Address
- See Enable Sumo Logic for instructions on getting this address
- HTTP Source Address
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
HTTP requests
orSpectrum 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.