---
title: "Data forwarding from edge hosts"
product: "Axoflow 0.90"
url: "https://axoflow.com/docs/axoflow/0.90/data-sources/data-forwarding/"
description: "Create and modify the forwarding rules that decide which AxoRouter receives the data of your edge hosts."
last_modified: "2026-10-13T13:55:18+02:00"
---

> For the complete documentation index, see [llms.txt](https://axoflow.com/docs/axoflow/0.90/llms.txt).

# Data forwarding from edge hosts

Create and modify the forwarding rules that decide which AxoRouter receives the data of your edge hosts.

To send data from an edge host to an AxoRouter, create a data forwarding rule.

- Sources are hosts that are sending data to a data aggregator, like AxoRouter.
- Edges are source hosts that are running a collector agent managed by AxoConsole, or have an Axolet agent reporting metrics from the host.

Data forwarding rules are high-level policies that determine how data should be forwarded from a set of edge hosts to an AxoRouter’s OpenTelemetry connector. You can use dynamic host labels to specify the edge hosts that the forwarding rule applies to.

![Forwarding data from edge hosts](https://axoflow.com/docs/axoflow/0.90/img/figure-collection-data-forwarding-rules.svg)

To see every data forwarding rule configured in AxoConsole, select **Sources > Forwarding Rules** from the main menu.

![Data forwarding rules list](https://axoflow.com/docs/axoflow/0.90/data-sources/data-forwarding/data-forwarding-list_hu_a11cb4a6de0b1981.webp)

Data forwarding rules have the following main elements:

- the edge selector, which determines the list of edge hosts that will create a data forwarding rule based on that rule.

  You can use any labels and metadata of the edge hosts in the edge selectors, for example, the hostname, or any [custom labels](https://axoflow.com/docs/axoflow/0.90/onboard-hosts/hosts/add-host-metadata/index.md)
  . For example, using the `label.product = windows` selector will create a data forwarding rule only on Windows hosts.
- the Router connector to send the data to. This must be an [OpenTelemetry connector](https://axoflow.com/docs/axoflow/0.90/data-sources/opentelemetry/index.md)
  of an AxoRouter.

Selecting the name of a data forwarding rule opens its **Overview** page, which shows the details of the rule, including the list of **Matching Edges**. To turn a rule off or on, use the toggle next to its name.

## Create data forwarding rule

To create a new data forwarding rule, complete the following steps.

1. If the primary IP address (the first IP address shown in the **Network addresses** section on the **Routers** page for each AxoRouter) is not accessible from your edge hosts, set a **Network address override** (IP address or an FQDN) that’s accessible. Otherwise, data forwarding from edge hosts will fail.
2. Select **Sources > Forwarding Rules > Add Data Forwarding Rule**.
3. Enter a name for the data forwarding rule into the **Name** field.

   ![Create data forwarding rule](https://axoflow.com/docs/axoflow/0.90/data-sources/data-forwarding/data-forwarding-create_hu_2622f9dfefc613f9.webp)
4. (Optional) Enter a description for the rule.
5. Set the **Edge Selector** for the rule. The selector determines which edge hosts will have data forwarding configured based on this rule.

   ![Edge selectors](https://axoflow.com/docs/axoflow/0.90/img/collection-rule-edge-selector_hu_9519da000ca5a8ae.webp)

   - Only edge hosts will match the rule.
   - If you leave the edge selector empty, the rule matches every edge host.
   - To select only a specific host, set the `name` field to the name of the host as selector.
   - If you set multiple fields in the selector, the collection rule will apply only to edge hosts that match all elements of the selector. (There in an AND relationship between the fields.) For example, `label.location = us-east-1 AND label.product = windows`
6. In the **Router connector** field, select the [OpenTelemetry connector](https://axoflow.com/docs/axoflow/0.90/data-sources/opentelemetry/index.md)
   of an AxoRouter where you want to send the data.
7. Select **Add** to create and immediately apply the data forwarding rule to the matching edge hosts. Alternatively, select **Add as draft** to create the rule in a disabled state. You can enable the rule later on the **Sources > Forwarding Rules** page, with the toggle next to the name of the rule.

## Modify forwarding rule

To modify an existing data forwarding rule, complete the following steps.

> **Note:**
>
> - You cannot directly modify the data forwarding settings of an edge host, only via modifying a data forwarding rule.
> - Modifying a rule affects every edge host that matches the **Edge Selector** of the rule.
> - To apply an existing rule to a new edge host, you can:
>   - [Add a label to the edge host](https://axoflow.com/docs/axoflow/0.90/onboard-hosts/hosts/add-host-metadata/index.md)
>     so the **Edge Selector** of the rule matches the new host, and/or
>   - Change the **Edge Selector** of the rule to match the new host.

1. Select **Sources > Forwarding Rules** from the main menu, then select the name of the rule you want to modify.
2. Select **Process**, then modify the **Edge Selector** or the **Router connector** of the rule as needed. (To change the description of the rule, select **Edit** instead.)

   **CAUTION:**

   The changes are applied immediately after you select **Save**. Double-check your changes to avoid losing data.
3. Select **Save**.

## Add edge host to existing forwarding rule

To add an edge host to an existing data forwarding rule, you have two options, depending on the **Edge Selector** of the data forwarding rule:

- [Modify the **Edge Selector** field](https://axoflow.com/docs/axoflow/0.90/data-sources/data-forwarding/index.md#modify-forwarding-rule)
  of the rule to include the new edge host.
- [Modify the labels](https://axoflow.com/docs/axoflow/0.90/onboard-hosts/hosts/add-host-metadata/index.md)
  of the edge host so it matches the edge selector of the rule.

## Troubleshooting

If the data doesn’t arrive at the destination, see [An edge host doesn’t send data](https://axoflow.com/docs/axoflow/0.90/troubleshoot/index.md#edge-missing). For other problems, see [Troubleshooting](https://axoflow.com/docs/axoflow/0.90/troubleshoot/index.md).
