---
title: "Configure data collection"
url: "https://axoflow.com/docs/axoflow/0.86/provisioning/linux-agent/configure/"
last_modified: "2025-12-08T14:52:27+01:00"
---

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

# Configure data collection

To configure the agent to collect data from the edge host and send it to an AxoRouter instance, you must have:

- a [Collection rule](https://axoflow.com/docs/axoflow/0.86/data-sources/collection-rules/index.md) with an Edge Selector that matches this host, and
- a [Data forwarding rule](https://axoflow.com/docs/axoflow/0.86/data-sources/data-forwarding/index.md) with an Edge Selector that matches this host.

The edge selectors of these rules are high-level policies that use dynamic host labels to determine which edge hosts match the rule.

To configure data collection on the edge host, complete the following steps.

1. Create a [new Collection rule](https://axoflow.com/docs/axoflow/0.86/data-sources/collection-rules/index.md#create) (select **Sources > Collection Rules > Add Rule**), or add the host to an [existing rule](https://axoflow.com/docs/axoflow/0.86/data-sources/collection-rules/index.md#add).
2. Create a new [Data Forwarding rule](https://axoflow.com/docs/axoflow/0.86/data-sources/data-forwarding/index.md#create) (select **Sources > Forwarding Rules > Add Rule**), or add the host to an [existing rule](https://axoflow.com/docs/axoflow/0.86/data-sources/data-forwarding/index.md#add).
