> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bronto.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Akamai

> Stream Akamai CDN logs to Bronto with DataStream 2 for real-time visibility into edge traffic, errors, cache performance, and security events.

## Overview

Akamai Datastream2 enables streaming CDN logs to third-party solutions via [HTTPS endpoints](https://techdocs.akamai.com/datastream2/docs/stream-custom-https). This guide walks you through configuring a Datastream2 *destination* to send logs to Bronto.
For the rest of the stream configuration, such as selecting which fields to be included in the log data, please refer to the [Akamai documentation](https://techdocs.akamai.com/datastream2/docs/welcome-datastream2).

### Destination Configuration

To configure a Datastream2 stream for Bronto:

1. Prepare your Bronto destination details:
   * Collection (service\_namespace)
   * Dataset (service\_name)
   * Ingestion API key. See the [Bronto API Keys documentation page](/Account-Management/API-Keys) for details.

2. Use the following URL format for your destination:
   ```url theme={"dark"}
   https://ingestion.eu.bronto.io/?service_name=MyBrontoDataset&service_namespace=MyBrontoCollection
   ```

3. In the Datastream2 configuration simply:
   * Set Authentication to `None`
   * Enable compression
   * Add a custom header:
     * Name: `x-bronto-api-key`
     * Value: Your Bronto Ingestion API key

### Configuration Screenshots

<Frame>
  <img src="https://mintcdn.com/bronto/AMoSrWK1E1Vj09Sr/images/integrations/assets/images/akamai-https-endpoint-with-compression-and-query-params.png?fit=max&auto=format&n=AMoSrWK1E1Vj09Sr&q=85&s=bf0faa3a89bfebe9e1e44591a4b75e3b" width="707" height="537" data-path="images/integrations/assets/images/akamai-https-endpoint-with-compression-and-query-params.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/bronto/AMoSrWK1E1Vj09Sr/images/integrations/assets/images/akamai-bronto-api-key-header.png?fit=max&auto=format&n=AMoSrWK1E1Vj09Sr&q=85&s=710a24e60cc8be3c26a9b6ed25633f36" width="1085" height="537" data-path="images/integrations/assets/images/akamai-bronto-api-key-header.png" />
</Frame>
