Add a stream

To monitor the transactions and gain real-time access to application activity data, you need to create a stream for your property. You can associate multiple streams with a single property to collect aggregated and raw data at the same time, specify different data sets that you want to receive about your application, and extract transaction log data for some streams or send it to specific destinations for others.

For example, you may want to create two streams for your property. The first stream is an aggregated metrics stream that integrates with Datadog or Sumo Logic. You can use it to visualize your logs, metrics, and performance data. The second stream is a raw log stream that doesn’t push data to any destination. You can pull raw data monitored by this stream with your custom client and have real-time insight into the performance of your web application at your convenience.

Before you begin

Determine the main content delivery property that you want to create a stream for and the path where you want to send the DataStream log delivery POSTs.

How to

  1. Go to > COMMON SERVICES > Log delivery > Real-time logs.
  2. On the Stream management page, click Add new stream.
    The Add new stream page appears.
  3. In Stream name, enter a name for the stream.
  4. In Stream type, select either Raw logs or Aggregated metrics.
    For more information on the stream types, see Key concepts and terms.
  5. In Properties, select the content delivery property.
  6. Optional: To add an endpoint where the stream’s log data is stored, click Add destination.
    Note: If you don’t want to add a destination, select the Do not push data to any destination checkbox. In this case, the data can only be extracted using the pull API. See the DataStream pull API.
    1. In Destination name, enter a name for your destination.
    2. From Destination type, select a type of your destination.
      There are different fields to fill in depending on the destination type you select. For more information on destination types, see Destinations.
  7. Click Continue to Data sets and make your selections.
    To learn more about the available data sets, see Data set parameters.
  8. Depending on the stream type you’ve chosen:
    • If you’ve chosen Raw logs, enter a desired Sample rate.
    • If you’ve chosen Aggregated metrics, select your Time frame from the dropdown.
  9. After configuring your data sets, click Review to see your stream’s details.
  10. To save and deploy the stream, click Publish.
    The publishing process takes up to 40 minutes.

Next steps

After the stream is deployed, go to the previously created property that you set up the stream for and enable the DataStream behavior. Next, let’s Enable DataStream.