All Products
Search
Document Center

EventBridge:Route events to Simple Log Service

Last Updated:Mar 11, 2026

When you need to store, query, or analyze event data from EventBridge, you can route events to a Simple Log Service (SLS) Logstore by configuring SLS as the sink of an event stream.

Prerequisites

Before you begin, ensure that you have:

Create an event stream with an SLS sink

  1. Log on to the EventBridge console and click Event Streams in the left-side navigation pane.

  2. Select a region in the top navigation bar and click Create Event Stream.

  3. Specify the Task Name and Description, then configure the event stream:

    1. In the Source, Filtering, and Transformation steps, specify the event source, filtering rules, and transformation rules, then click Next Step. For more information about event transformation, see Use Function Compute to perform message cleansing.

    2. In the Sink step, set Service Type to Simple Log Service and configure the following parameters:

      Parameter

      Description

      Example

      Project

      The SLS project to receive events.

      test-project

      Logstore

      The Logstore within the project.

      test-logstore

      Topic

      A topic name to categorize the routed logs.

      test-topic

      Content

      The event content to route to SLS. For details, see Event transformation.

      Complete Event

      Role

      The RAM role that authorizes EventBridge to read logs in SLS. For the required permission policy, see Route events to Log Service.

      testRole

    3. Configure the retry policy and dead-letter queue. These settings determine how EventBridge handles delivery failures. For details, see Retry policies and dead-letter queues.

  4. Click Save.

  5. On the Event Streams page, find your event stream and click Enable in the Actions column.

    Enabling takes 30 to 60 seconds. Track the progress in the Status column.

Verify event delivery

After you enable the event stream, confirm that events arrive in SLS:

  1. Log on to the Simple Log Service console.

  2. In the Projects section, click your project.

  3. On the Logstores page, click your Logstore.

  4. Click Search & Analyze to query the routed events.

Verify event delivery in the SLS console