---
schema_version: "1"
id: b7b072a1a644bf4d26081bb257686fd9a7fe756badf98f938570f340dc228ced
title: Create a Logpush Job
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/cc/264-0-0/b2c_create_ecdn_logpush_job.md
canonical_url: https://help.salesforce.com/s/articleView?id=cc.b2c_create_ecdn_logpush_job.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9a0825aba7a66ac5eafc4c333b28b273acf9f6fc5b85fd80419d56064be5aa55
description: Create a Logpush job to stream eCDN request, security, and Page Shield logs from your B2C Commerce storefront continuously to a customer-owned destination. The New Logpush Job wizard walks through destination setup and job configuration in two steps.
products:
  - Commerce
  - B2C Commerce
release: "264"
---
# Create a Logpush Job

Create a Logpush job to stream eCDN request, security, and Page Shield logs from your B2C Commerce storefront continuously to a customer-owned destination. The New Logpush Job wizard walks through destination setup and job configuration in two steps.

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

For the fields each destination type requires, see [eCDN Logpush Destination Settings](https://help.salesforce.com/s/articleView?id=cc.b2c_ecdn_logpush_destination_settings.htm&release=264.0.0&type=5 "Required and optional fields for each eCDN Logpush destination type on your B2C Commerce storefront: Amazon S3, Google Cloud Storage, Azure Blob Storage, Datadog, and Splunk."). Each zone supports up to 2 active Logpush jobs, one per dataset.

1. In Business Manager, click the App Launcher, then select **Administration** | **Sites** | **Embedded CDN Settings**.
2. Locate the zone you want to configure, and select **Configure Zone** from the actions menu.
3. Click the **Logs** tab.
4. In the **Logpush** section, click **New Logpush Job**.
    
    The New Logpush Job wizard opens on the Destination Details step.
    
    ![New Logpush Job wizard Destination Details screen showing destination dropdown with options for Datadog, Splunk, Amazon S3, Google Cloud Storage, and Azure Blob Storage](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_ecdn_configure_zone_logs_logpush_new_job_destinations.png)
5. On the **Destination Details** step, choose a **Destination** and a **Dataset**, fill in the destination-specific fields, and click **Next**.
    
    For the required and optional fields for each destination type (Amazon S3, Google Cloud Storage, Azure Blob Storage, Datadog, and Splunk), see [eCDN Logpush Destination Settings](https://help.salesforce.com/s/articleView?id=cc.b2c_ecdn_logpush_destination_settings.htm&release=264.0.0&type=5 "Required and optional fields for each eCDN Logpush destination type on your B2C Commerce storefront: Amazon S3, Google Cloud Storage, Azure Blob Storage, Datadog, and Splunk.").
6. On the **Configure Logpush Job** step, set the job options.
    
    1. Enter a **Job Name**.
        
        This free-form label appears in the Logpush table and in the destination's path and metadata.
    2. Choose a **Timestamp Format**.
        
        Choose `rfc3339` (default ISO-8601 string), `unix` (epoch seconds), or `unixnano` (epoch nanoseconds).
    3. For **Matching Logs**, choose **All Logs** to push every record, or **Filtered Logs** to build a filter expression.
        
        When you select **Filtered Logs**, a Filter Logs builder appears. Build the expression row by row by choosing a Field, an Operator (equals, does not equal, contains, does not contain, matches, does not match, starts with, does not start with, ends with, does not end with, is in, is not in), and a Value. Click **And** or **Or** to add another row. Click **Edit Expression** to switch to a raw-JSON view, then click **Use Expression Builder** to return to row-based editing.
    4. Under **Allowed Directives**, choose which fields to include: All, or a specific subset.
    5. Click **Save**.
    
    ![Configure Logpush Job screen showing Job Name field, Timestamp Format dropdown set to rfc3339, Matching Logs radio buttons for All Logs and Filtered Logs with Filter Logs section displaying Field, Operator, and Value dropdowns](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_ecdn_configure_zone_logs_logpush_configure_job.png)
7. If you chose Amazon S3 or Google Cloud Storage, prove that you own the bucket.
    
    For Amazon S3, after you fill in Bucket and Region, the screen displays an AWS Resource Policy JSON snippet. Copy it and attach it to your bucket so that the eCDN Cloudflare Logpush principal can write to it. For Google Cloud Storage, follow the in-product instructions to grant the Cloudflare Logpush service account write permission on the bucket.
    
    1. Open the bucket in your storage console.
        
        For Amazon S3, a new file named ownership-challenge-<id>.txt appears at the bucket root, or under the configured path.
    2. Open the challenge file and copy its contents.
    3. Paste the token into **Ownership Challenge Token** in the Prove Bucket Ownership dialog, and click **Confirm**.
        
        If the token can't be found yet, click **Resend Challenge** to request a new file.
    
    ![Prove Bucket Ownership dialog showing challenge filename ownership-challenge-c6c1dd02.txt, Ownership Challenge Token input field, and Resend Challenge link](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-cc-b2c_merchandiser_administrator-264-0-0-production-enus/ea76f372-6cfa-42a6-8e7c-05c6df7abed8/cc/b2c_merchandiser_administrator/images/b2c_ecdn_configure_zone_logs_logpush_s3_ownership.png)

When the job saves successfully, a toast confirms the change and the job appears in the Logpush table on the Logs tab. Logpush jobs continuously deliver eCDN logs to your destination on a schedule.

To edit, pause, or delete jobs, see [Manage Logpush Jobs](https://help.salesforce.com/s/articleView?id=cc.b2c_manage_ecdn_logpush_jobs.htm&release=264.0.0&type=5 "Pause, edit, or delete the eCDN Logpush jobs configured for a zone on your B2C Commerce storefront. The Logpush table on the Logs tab lists every job configured for the zone, with a header counter such as Logpush (2) and You have used 2 out of 2 Logpush jobs."). To get alerted when a Logpush job fails, set up a notification rule. See [Create a Notification Rule](https://help.salesforce.com/s/articleView?id=cc.b2c_create_ecdn_notification_rule.htm&release=264.0.0&type=5 "Create a notification rule to bind a webhook destination to one or more eCDN zones for your B2C Commerce storefront and control whether delivery is enabled. Toggling a rule off pauses delivery without deleting the rule.").