Setting up Log File Analysis with Cloudflare Logpush in Conductor Website Monitoring is very straightforward! Follow the steps outlined below to enable Log File Analysis in Conductor Website Monitoring, and set up the Logpush integration.
This is a highlight box. The borders that appear in the editor and this explainer will not appear in the published article. Use the Title and Body below for examples, best practices, or other information you'd like to call out.
Cloudflare Logpush is available exclusively on Cloudflare's Enterprise plan.
If your Cloudflare account is not on the Enterprise plan, you can integrate with Cloudflare with the Cloudflare Worker instead.
End of Highlight box
Setting up the Log File Analysis
The process of configuring the Log File Analysis consists of two phases:
- Enabling the Log File Analysis feature and creating an AWS S3 bucket in Conductor Website Monitoring
- Configuring Logpush in the Cloudflare UI
1. Enabling the Log File Analysis feature and creating an AWS S3 bucket in Conductor Website Monitoring
If you navigate to Account and then Websites section in Conductor Website Monitoring, you can easily filter and see which of the websites you are monitoring in Conductor Website Monitoring are on Cloudflare:
From there, just follow the steps outlined below to enable Log File Analysis on the wanted website:
- Click any website that is running on Cloudflare in the Websites section ↗️ of Conductor Website Monitoring.
- Click the Log File Analysis tab in Settings.
- Enable the Log File Analysis toggle .
After this is done, follow the next steps to create an AWS S3 bucket in Conductor Website Monitoring:
- In the same Log File Analysis section, select Cloudflare Logpush as the delivery method.
- Click the How to install link next to Cloudflare Logpush.
- Specify in which region should the AWS S3 bucket be created (EU or US) and click Create bucket.
- After this, Conductor Website Monitoring will automatically generate the AWS credentials and the AWS S3 bucket.
- Save the credentials as they will be used to associate the AWS S3 bucket with the Cloudflare Logpush service in the next section.
2. Configuring Cloudflare Logpush
Cloudflare Logpush needs to be manually configured in the Cloudflare UI for every website. The configuration of Logpush consists of the following steps:
- Go to the Logs section in the Cloudflare UI: Log in to your Cloudflare account, choose the website for which you want to enable the Log File Analysis feature, and click on Analytics > Logs.
- In the Logpush section, click Connect a service.
- In the Select Data Set step, select HTTP requests as the data set.
- Select the following Data Fields that need to be provided in the HTTP request log. All required Data Fileds are preselected by default, apart from the following two that need to be specified manually:
- ClientRequestScheme (in the ClientRequest category)
- ClientRequestUserAgent (in the ClientRequest category)
- Client IP
- ClientRequestHost
- ClientRequestMethod
- ClientRequestURI
- EdgeEndTimestamp
- After ensuring that the required Data Fields are selected, click Next.
- Select Amazon S3 as the destination and click Next.
- Enter the Bucket path and the Bucket region generated in Conductor Website Monitoring to the corresponding fields in the Enter destination information step. The default selection should be kept for all other options.
- Once done, click Validate access.
-
After initiating access validation, Cloudflare sends a file to Conductor Website Monitoring's specified S3 bucket that contains the Ownership token. Validate access to the S3 bucket by copy-pasting the Ownership token from Conductor Website Monitoring to Cloudflare:
- Navigate back to Conductor Website Monitoring, click Next if you haven't already, and copy the Ownership token to your clipboard:
- Navigate back to the Cloudflare UI and paste the Ownership token to the corresponding field:
- Click Push. After that, you should see the Logpush service that you have just created in the overview.
- Navigate back to Conductor Website Monitoring, click Next if you haven't already, and copy the Ownership token to your clipboard:
Reinstalling Cloudflare Logpush
If you want to change the AWS S3 bucket region or reinstall Cloudflare Logpush, you can do it in the following way:
- Click on the website on which you want to reinstall Cloudflare Logpush in the Websites section ↗️ of Conductor Website Monitoring.
- Click Log File Analysis in Settings, and then the reinstall link next to the Cloudflare Logpush delivery method in the Log Sources.
- If needed change the region, and click on Create bucket.
- Configure Cloudflare Logpush following the steps above.
Disabling Log File Analysis
Same as with enabling Log File Analysis, you need to disable the feature in Conductor Website Monitoring and then remove the Cloudflare Logpush service in the Cloudflare UI.
Disabling Log File Analysis
- Click on the website on which you want to disable Log File Analysis in the Websites section ↗️ of Conductor Website Monitoring.
- Click on the Log File Analysis in the Settings section.
- Disable the Log File Analysis toggle.
Once this is done, Conductor Website Monitoring will automatically disable Cloudflare Logpush access to the AWS S3 bucket.
Removing Cloudflare Logpush
If you have disabled the Log File Analysis feature, you still need to remove the Cloudflare Logpush service in your Cloudflare account.
This needs to be done manually, as Conductor Website Monitoring doesn't have access to your Cloudflare account.
Security FAQs
For the most common security-related questions about Conductor Website Monitoring's Log File Analysis, refer to the FAQ section in the Log File Analysis support article.