# How to associate domains on Data Stream

import Tabs from '~/components/tabs/Tabs'
import InterfaceNote from '~/includes/snippets/InterfaceNote/en/snippet.mdx'

[Data Stream](/en/documentation/products/observe/data-stream/) is an **Observe** product that allows you to feed your SIEM, big data, and stream processing platforms with the event logs from your applications on Azion in real time.

When you associate domains with Data Stream, the events related to the specified domains are collected and sent to the endpoint you configure through a stream. You can associate one or more of your domains registered with Azion to a stream.

To associate domains on Data Stream, follow these steps:

1. [Access Azion Console](https://console.azion.com).
2. On the upper-left corner, select **Data Stream** on the **Observe** section.
3. Click **+ Stream**.
4. Choose a name for your stream.
5. On the **Source** dropdown menu, select the one you want to use.
6. On the **Template** dropdown menu, select the one you want to use.
7. On **Worloads** > **Option**, select between **All Current and Future Domains** or **Filter Domains**.

- If you've selected **Filter Domains**:

On the **Available Domains** box, you can:
    - Type characters or words to find domains or scroll through the list of your domains.
    - Select each domain you want to associate with this stream and click the `>` button.
    - Select multiple domains by using `ctrl` on Windows and Linux or `command` on Mac and click the `>` button.
    - Select `>>` to select all domains presented on the list.

After you click the `>` button, the selected domains are moved to the **Chosen Domains** box. You can also use the `<` button to remove specific domains already chosen or select `<<` to remove all domains.

- If you've selected **All Domains**:

Azion automatically selects all *current* and *future* domains associated to your Azion Console account using this stream.

---

After associating the domains of your choice:

1. Fill in the remaining [mandatory fields to configure your stream](/en/documentation/products/guides/use-data-stream/).
2. Make sure the **Active** switch is on.
3. Click **Save**.

Now, the events associated with the domains you selected will be collected and sent to its endpoint through the configured stream.

Watch a video tutorial on How to associate domains on Data Stream on Azion’s YouTube channel:

<Video src="https://www.youtube.com/embed/soyIbJW0VdQ" title="How to associate domains on Data Stream" description="When associating domains with Data Stream, the events related to the specified domains will be collected and sent to its endpoint." uploadDate="2023-07-03" />