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

# Integrate Akamai with Conductor Intelligence

> Send log file data from Akamai to Conductor Intelligence's Pages report.

<Warning>
  Note that the instructions in this article describe the process for integrating with Conductor Intelligence. You can also integrate Akamai for Conductor Monitoring's [Log File Analysis](/docs/monitoring/setting-up-the-akamai-integration/) feature.
</Warning>

Integrating [Akamai DataStream](https://techdocs.akamai.com/datastream2/docs) with Conductor Intelligence consists of two phases:

* Enabling log files and creating an [AWS S3 bucket](https://aws.amazon.com/s3/) in Conductor Intelligence.
* Configuring Akamai DataStream in the Akamai UI, and associating the DataStream with the corresponding property.

## Enabling log files and creating an AWS S3 bucket in Conductor Intelligence

In Conductor Intelligence:

1. Go to the [Pages & Crawling](https://app.conductor.com/u/pages-and-crawling) settings activity (**Settings** > **Pages & Crawling**).
2. From the list of configured subdomains, identify the subdomain with the pages for which you want to see log file data.
3. In the **Log Source** column for that subdomain, click **Connect**.
4. In the Akamai section, from the **Connect a log source** window, click **Connect**.
5. In the **Connect Akamai DataStream** window:
   1. If you have configured your Akamai DataStream for your root domain, select whether you want to apply this integration to all relevant subdomains. This allows you to integrate Akamai once for all applicable subdomains rather than for each subdomain individually. If your Akamai DataStream is configured at the subdomain level, leave this check box clear and configure individual log file integrations for each subdomain.
   2. Click **Create Bucket**.
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/JYB26t33RXvVSQWE/images/intelligence/akamai-create-bucket.png?fit=max&auto=format&n=JYB26t33RXvVSQWE&q=85&s=e55a86be619427cb03600656fac8c975" alt="Akamai Create Bucket" width="1504" height="1188" data-path="images/intelligence/akamai-create-bucket.png" />
   </Frame>
   Conductor Intelligence will generate the following details you'll need to associate the AWS S3 bucket with Akamai DataStream in the next section:
   * **Bucket**
   * **Access Key ID**
   * **Secret Access Key**
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/JYB26t33RXvVSQWE/images/intelligence/akamai-complete-integration.png?fit=max&auto=format&n=JYB26t33RXvVSQWE&q=85&s=7d6b36eea08edb390d736dfe31fc3cd2" alt="Akamai Complete Integration" width="1494" height="1172" data-path="images/intelligence/akamai-complete-integration.png" />
   </Frame>
6. Click **Complete Integration**.

## Configuring Akamai DataStream

Akamai DataStream needs to be manually configured in the Akamai UI for every website. The configuration of Akamai DataStream consists of two steps:

* Creating a new Akamai DataStream.
* Associating the DataStream with the corresponding property (domain).

### Creating a new Akamai DataStream

Follow these steps to create a new Akamai DataStream:

1. Log in to your [Akamai Control Center](https://control.akamai.com/apps/home-page/#/home) and click on **DataStream** in the navigation bar:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream-nav_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=e6d518a20ad02408511dd35486891333" alt="contentking-lfa-akamai-datastream-nav@2x.png" width="1448" height="1436" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream-nav_2x.png" />
   </Frame>
2. On the **DataStream** screen, click **Create stream**:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-create-stream_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=2520a6dc4dfaf5e429ca70afe37c9170" alt="contentking-lfa-akamai-create-stream@2x.png" width="2880" height="698" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-create-stream_2x.png" />
   </Frame>
3. Configure the DataStream: specify the stream's name (e.g. "Conductor Intelligence example.com") and pick the website for which you want to configure the Akamai DataStream in the **Properties** list:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-stream-configuration_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=8df651774168eb0d47a7162e557f6717" alt="contentking-lfa-akamai-stream-configuration@2x.png" width="2061" height="1560" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-stream-configuration_2x.png" />
   </Frame>
4. Configure the Data Sets:\
   **Important:** ***The log format needs to be JSON***.\
   Choose the following *required* data sets to be sent to the AWS S3 bucket. All the fields listed below need to be selected for log file data to work properly. You can also add other data sets, but the ones listed below are required.
   * Log information
     * Request ID
     * Request time
   * Message exchange data
     * Client IP
     * HTTP status code
     * Protocol type
     * Request host
     * Request method
     * Request path
     * Request port
     * Response-Content-Type
     * User-Agent
     * SSL version
     * Query string

<Info>
  Conductor requires streaming only *non-PII* (non-personally identifiable information) data to its AWS S3 bucket.

  To do that, you can filter away non-search engine traffic based on the User Agent string when setting up the DataStream directly in the Akamai UI.

  This is covered in the section [Filter away non-search engine traffic](#filter-away-non-search-engine-traffic) below.
</Info>

5. Choose **Amazon S3** as the destination where the data will be streamed:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-delivery_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=eec31452742b177c6344d9631402fda1" alt="contentking-lfa-akamai-delivery@2x.png" width="2062" height="1306" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-delivery_2x.png" />
   </Frame>
   * Fill in the **Display name** (e.g. *conductor-intelligence-s3-example*).
   * Enter the **Bucket name** from the credentials you saved from Conductor Intelligence in the **Bucket** field.
   * **Path** (default suggested by Akamai): `logs/{%Y}/{%m}/{%d}/{%H}`
   * Enter the **Region** from the credentials generated in Conductor Intelligence.
   * Enter the **Access key ID** and **Secret access key** from the credentials generated in Conductor Intelligence.
   * Once done, click **Validate & Save**.
6. Finish the setup and click **Save stream**:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-summary_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=a7e9ffcaf15fd251b95d5474c1eae898" alt="contentking-lfa-akamai-summary@2x.png" width="838" height="740" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-summary_2x.png" />
   </Frame>

<Info>
  After configuring the DataStream, it might take several hours until Akamai sets everything up. Please [let us know](/docs/platform/getting-help-with-conductor-products/) if it takes more than 24 hours.
</Info>

### Associate the created DataStream with the corresponding property

After creating the new DataStream, you need to associate it with the corresponding property in your Akamai account.

1. Log in to your [Akamai Control Center](https://control.akamai.com/apps/home-page/#/home) and click on **Properties** in the navigation bar:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-properties_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=e30c55270c3763f239be343e135bb9cd" alt="contentking-lfa-akamai-properties@2x.png" width="1506" height="1372" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-properties_2x.png" />
   </Frame>
2. Click the property which you want to associate with the created DataStream:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-property-groups_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=d627c398b5603aed6e0aed4b7dda9829" alt="contentking-lfa-akamai-property-groups@2x.png" width="2046" height="1078" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-property-groups_2x.png" />
   </Frame>
3. Click the **Property Version** for the website you are sending log file data for (this can be either the Staging Version or the Production Version):
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-version_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=31a0e8db8cf07626c0c11fc8b83254e6" alt="contentking-lfa-akamai-version@2x.png" width="2034" height="714" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-version_2x.png" />
   </Frame>
4. Scroll to the **DataStream** section in **Property Configuration Settings**. If the **DataStream** section is missing, follow the steps below to add it. If not, skip to step 5.
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream-section_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=07cc8863644889d4b4eac727468c30fd" alt="contentking-lfa-akamai-datastream-section@2x.png" width="1920" height="598" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream-section_2x.png" />
   </Frame>
   1. Scroll all the way down, and click **Edit new version**.
      <Frame>
        <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-edit-new-version_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=810091eacc343bcb05926a6da63c0723" alt="contentking-lfa-akamai-edit-new-version@2x.png" width="1950" height="796" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-edit-new-version_2x.png" />
      </Frame>
   2. Scroll down to **Property Configuration Settings**, and click **Add Behavior**.
      <Frame>
        <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-behavior_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=63f91f901b60289efd66b20c1939ad24" alt="contentking-lfa-akamai-add-behavior@2x.png" width="1582" height="658" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-behavior_2x.png" />
      </Frame>
   3. Search for **DataStream** in the modal that appears and select it.
      <Frame>
        <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream-behavior_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=6cace1f9c13cd3956207baffbdfd335b" alt="contentking-lfa-akamai-datastream-behavior@2x.png" width="1502" height="962" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream-behavior_2x.png" />
      </Frame>
   4. Click **Insert Behavior**.
      <Frame>
        <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-insert-behavior_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=235407c1df86bce8467079f7954dd11e" alt="contentking-lfa-akamai-insert-behavior@2x.png" width="1514" height="958" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-insert-behavior_2x.png" />
      </Frame>
5. In the **DataStream** box in the **Behaviors** list, choose **DataStream2** as the Stream version.
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream2_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=3abc83857d2d472eed0068812218f220" alt="contentking-lfa-akamai-datastream2@2x.png" width="1912" height="674" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-datastream2_2x.png" />
   </Frame>
6. In the **DataStream2** section, enable the toggle to **On**, choose the Stream name of the new DataStream you created, and then click the **Save** button:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-stream-name_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=bb64cde8055a271d6e6a009107b48db6" alt="contentking-lfa-akamai-stream-name@2x.png" width="1918" height="838" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-stream-name_2x.png" />
   </Frame>

<Info>
  Once this is done, ALL the traffic on your website will be streamed to Conductor Intelligence's AWS S3 bucket. However, Conductor Intelligence will process only search engine visits, and filter out all other traffic, including all PII data.

  Follow the next steps to learn how to filter away non-search engine traffic directly in the Akamai DataStream that you've created in the previous steps.

  These steps are **required**!
</Info>

### Ensure logging of the User Agent header

1. Go to **Property Configuration Settings** following steps 1 through 3 in the section [Associate the created DataStream with the corresponding property](#associate-the-created-datastream-with-the-corresponding-property).
2. Scroll down to the **Log Request Details** section in **Property Configuration Settings**:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-log-request-details_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=3499aa8b606f3f6bb925f85546142772" alt="contentking-lfa-akamai-log-request-details@2x.png" width="1946" height="1056" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-log-request-details_2x.png" />
   </Frame>
   In case the **Log Request Details** section is not there, follow the same steps as within step 4 in the section [Associate the created DataStream with the corresponding property](#associate-the-created-datastream-with-the-corresponding-property) to add it.
3. Enable the "Log User-Agent header" and click the **Save** button:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-log-ua-header_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=5278dd2726e427a51e56909a3985ccdb" alt="contentking-lfa-akamai-log-ua-header@2x.png" width="1946" height="1056" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-log-ua-header_2x.png" />
   </Frame>

## Filter away non-search engine traffic

1. Go to **Property Configuration Settings** following steps 1 through 3 in the section [Associate the created DataStream with the corresponding property](#associate-the-created-datastream-with-the-corresponding-property), and click **Add Rule**:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-rule_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=56873bde0b81e65510124b165f174e16" alt="contentking-lfa-akamai-add-rule@2x.png" width="1980" height="754" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-rule_2x.png" />
   </Frame>
2. Insert the rule for specific User Agents: choose a **Blank rule template**, then give it a name (e.g. *"Enable DataStream for specific user agents"*), and click **Insert rule**:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-blank-rule-template_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=b03e46a3539f83f276708a17f45d10ac" alt="contentking-lfa-akamai-blank-rule-template@2x.png" width="1586" height="974" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-blank-rule-template_2x.png" />
   </Frame>
3. Click **Add Behavior** and add the **DataStream** behavior following steps 4.3 and 4.4 in [Associate the created DataStream with the corresponding property](#associate-the-created-datastream-with-the-corresponding-property):
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-behavior_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=63f91f901b60289efd66b20c1939ad24" alt="contentking-lfa-akamai-add-behavior@2x.png" width="1582" height="658" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-behavior_2x.png" />
   </Frame>
4. Click **Add Match** and set up the criteria for the User Agent to match:

   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-match_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=877e7fd9708467ffcc3f3ea560507222" alt="contentking-lfa-akamai-add-match@2x.png" width="1584" height="962" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-add-match_2x.png" />
   </Frame>

   Example:

   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-criteria_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=1482459699dcca6b7b449fc59e694c1c" alt="contentking-lfa-akamai-criteria@2x.png" width="1152" height="398" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-criteria_2x.png" />
   </Frame>

   User agent is one of:

   * *Googlebot*
   * *bingbot*
   * *PerplexityBot*
   * *Perplexity-User*
   * *OAI-SearchBot*
   * *ChatGPT-User*
   * *GPTBot*

   **(Note:** These strings are case sensitive. Confirm you have the precise upper- and lower-case letters.**)**
5. Finally, click **Save**:
   <Frame>
     <img src="https://mintcdn.com/conductor-0f65a05d/8GiJK_LzAbaM_dYD/images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-save_2x.png?fit=max&auto=format&n=8GiJK_LzAbaM_dYD&q=85&s=a97d6ed6087d353cb8bec9271c4bf349" alt="contentking-lfa-akamai-save@2x.png" width="1742" height="1248" data-path="images/monitoring/setting-up-the-akamai-integration--contentking-lfa-akamai-save_2x.png" />
   </Frame>

## Disabling Log File Data in Conductor Intelligence's Pages Reports

1. In **Pages & Crawling**, hover over the subdomain for which you want to remove Akamai and click **Edit** in the **Log Source** column.
2. In the bottom-right of the **Connect Akamai** form, click **Remove**.
3. Click **Remove Log Source** to confirm.

Conductor Intelligence cannot access your Akamai account, so you also need to remove the DataStream manually in the Akamai UI.
