You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,6 +128,12 @@ You can visualize the flows in NetFlow Monitoring by clicking on the {{< ui >}}F
125
128
126
129
{{< img src="network_device_monitoring/netflow/flows.png" alt="Hover over a flow aggregated from a device emitting netflow to access related network connections" width="100%" >}}
127
130
131
+
## Network Path for NetFlow
132
+
133
+
Dynamic Tests for NetFlow can automatically run Network Path tests from the Agent that collects NetFlow traffic to destination IPs observed in NetFlow records. Use Dynamic Tests for NetFlow to add hop-by-hop route and latency context to your NetFlow destinations.
134
+
135
+
Dynamic Tests for NetFlow are experimental and require Agent `v7.81+`. To set up Dynamic Tests for NetFlow, see [Network Path setup][11].
136
+
128
137
## NetFlow monitor
129
138
130
139
Click on the {{< ui >}}Create Monitor{{< /ui >}} icon from any of the views to create a [NetFlow monitor][6]. When creating the monitor, consider the following fields with respect to the source IP or destination IP from the perspective of the device. These fields provide insights into network traffic patterns and help with optimizing performance and security.
@@ -371,3 +380,4 @@ Use the `netstat -s` command to see if there are any dropped UDP packets:
Copy file name to clipboardExpand all lines: content/en/network_monitoring/network_path/_index.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,10 +33,11 @@ The following diagram depicts the typical flow of a network path from a source (
33
33
34
34
## Setup methods
35
35
36
-
Network Path supports two Agent-based collection methods. You can use either method on its own or both together:
36
+
Network Path supports multiple Agent-based collection methods. You can use one method on its own or combine multiple methods:
37
37
38
38
-**[Scheduled tests][6]**: Monitor specific network paths by defining source-destination pairs in the Agent configuration file. Use scheduled tests to continuously monitor a known set of endpoints, such as critical APIs or partner services.
39
39
-**[Dynamic tests][7]**: Automatically discover and monitor network paths based on actual network traffic observed by [Cloud Network Monitoring][8]. Use dynamic tests for broad visibility without manually listing every destination.
40
+
-**[Dynamic Tests for NetFlow][10]**: Automatically run Network Path tests from the Agent host to destination IPs observed in [NetFlow Monitoring][11]. Use Dynamic Tests for NetFlow to add hop-by-hop route visibility to NetFlow traffic without manually configuring individual destinations.
40
41
41
42
To create Network Path tests in Synthetic Monitoring instead, see [Network Path Testing in Synthetic Monitoring][9].
42
43
@@ -62,3 +63,5 @@ Use the following views and tools to set up Network Path and investigate network
|**[Network Path][6]**| Network Path provides hop-by-hop visibility into the route between a source and a destination, so you can identify where latency, packet loss, or routing changes occur. |
14
+
|**[Dynamic Tests for NetFlow][8]**| An experimental Network Path collection method that runs Network Path tests from the Agent host to destination IPs observed in NetFlow traffic. |
15
+
|**Origin**| The source that triggered a Network Path test, such as network traffic, NetFlow, a scheduled Agent configuration, or Synthetic Monitoring. Use the `origin` facet to filter paths by collection method. |
14
16
| **Autonomous System (AS / ASN)** | A collection of IP routing prefixes managed by a single network operator. Network Path groups hop by Autonomous System (AS) or Autonomous System Number (ASN) to show routing domains along the path.
15
17
|**[Path View][7]**| The Network Path visualization that displays each hop, grouped by Autonomous System Number (ASN), region, or network, along with probe status and hop metrics. |
16
18
|**Hop**| A network node along a route between source and destination, identified by IP address and associated metadata (ASN, cloud region, provider). ||
17
-
|**Source**| The starting point of a Network Path probe, typically an Agent-monitored host or container running the Datadog network monitoring tracer. |
19
+
|**Source**| The starting point of a Network Path probe, such as an Agent-monitored host, container, Synthetic location, or the Agent that collects NetFlow traffic. |
18
20
|**Destination**| The endpoint that the Network Path probe is targeting, such as a service, public endpoint, or domain. |
19
-
|**Traceroute**| The mechanism that Network Path uses to determine intermediate hops and latency. CNM sends controlled probes, similar to traceroute, to discover each hop on the route. |
21
+
|**Traceroute**| The mechanism that Network Path uses to determine intermediate hops and latency. Network Path sends controlled probes, similar to traceroute, to discover each hop on the route. |
20
22
|**Latency per hop**| The round-trip time between the probe source and each hop. This helps identify slow or congested nodes. |
21
23
|**Packet loss per hop**| The percentage of probe packets dropped before reaching or returning from a hop, useful for diagnosing reliability issues. |
22
24
@@ -41,4 +43,5 @@ Network Path provides hop-by-hop visibility into the route between a source and
Copy file name to clipboardExpand all lines: content/en/network_monitoring/network_path/setup.md
+91-10Lines changed: 91 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,12 +25,13 @@ Setting up Network Path involves configuring your environment to monitor and tra
25
25
26
26
<divclass="alert alert-info">This page covers Network Path setup for Agent-based configuration in Network Monitoring. To create Network Path tests in Synthetic Monitoring, see <ahref="/synthetics/network_path_tests/">Network Path Testing in Synthetic Monitoring</a>.</div>
27
27
28
-
Datadog provides two Agent-based collection methods. You can use either method on its own or combine both:
28
+
Datadog provides three Agent-based collection methods. You can use one method on its own or combine multiple methods:
29
29
30
30
| Method | When to use |
31
31
|--------|-------------|
32
32
|**[Scheduled tests](#scheduled-tests)**| Monitor specific source-destination pairs that you define in the Agent configuration. Best for tracking a known set of endpoints, such as critical APIs or partner services. |
33
33
|**[Dynamic tests](#dynamic-tests)**| Automatically discover and monitor paths based on traffic observed by [Cloud Network Monitoring][1]. Best for broad visibility without manually listing every destination. |
34
+
|**[Dynamic Tests for NetFlow](#dynamic-tests-for-netflow-experimental)**| Automatically run Network Path tests from the Agent host to destination IPs observed in [NetFlow Monitoring][6]. Best for adding hop-by-hop route visibility to NetFlow traffic without manually configuring individual destinations. |
34
35
35
36
### Scheduled tests
36
37
@@ -173,7 +174,7 @@ Agent `v7.72+` is required.
173
174
- "tag_key2:tag_value2"
174
175
```
175
176
176
-
3. Restart the Agent after making these configuration changes to start seeing network paths.
177
+
3. Restart the Agent after making these configuration changes to start seeing network paths.
177
178
178
179
{{% /tab %}}
179
180
{{% tab "Helm" %}}
@@ -230,6 +231,7 @@ Datadog Autodiscovery allows you to enable Network Path on a per-service basis t
230
231
datadog:
231
232
traceroute:
232
233
enabled: true
234
+
```
233
235
234
236
2. After the module is enabled, Datadog automatically detects Network Path annotations added to your Kubernetes pod. For more information, see [Kubernetes and Integrations][2].
235
237
@@ -501,20 +503,86 @@ datadog:
501
503
{{% /tab %}}
502
504
{{< /tabs >}}
503
505
504
-
#### Filter syntax
506
+
### Dynamic Tests for NetFlow (Experimental)
507
+
508
+
<divclass="alert alert-info">Dynamic Tests for NetFlow are experimental and require Agent <code>v7.81+</code>. To enable this feature, contact Datadog Support or your account team.</div>
509
+
510
+
Configure Dynamic Tests for NetFlow to run Network Path tests from the Agent host to destination IPs observed in NetFlow records. Dynamic Tests for NetFlow do not require [Cloud Network Monitoring][1] or `network_path.connections_monitoring.enabled`.
511
+
512
+
Dynamic Tests for NetFlow run from the Datadog Agent that collects NetFlow traffic. They do not run from the NetFlow exporter, router, or original flow source. Deploy the Agent close enough to the observed flow sources for traceroutes from that Agent to represent the paths you want to investigate.
513
+
514
+
**Prerequisites**:
515
+
516
+
-[NetFlow Monitoring][6] must be configured and receiving flows.
517
+
- Agent `v7.81+` is required.
518
+
519
+
{{< tabs >}}
520
+
{{% tab "Linux" %}}
521
+
522
+
1. Enable the `system-probe` traceroute module in `/etc/datadog-agent/system-probe.yaml` by adding the following:
523
+
524
+
```yaml
525
+
traceroute:
526
+
enabled: true
527
+
```
528
+
529
+
2. Enable Dynamic Tests for NetFlow in `/etc/datadog-agent/datadog.yaml`:
530
+
531
+
```yaml
532
+
network_path:
533
+
netflow_monitoring:
534
+
enabled: true
535
+
collector:
536
+
monitor_ip_without_domain: true
537
+
```
538
+
539
+
`monitor_ip_without_domain: true` is required because Dynamic Tests for NetFlow target observed destination IP addresses and the Network Path collector skips IP-only targets by default.
540
+
541
+
3. Restart the Agent after making these configuration changes.
542
+
543
+
{{% /tab %}}
544
+
{{% tab "Windows" %}}
545
+
546
+
1. Enable the `system-probe` traceroute module in `%ProgramData%\Datadog\system-probe.yaml` by adding the following:
547
+
548
+
```yaml
549
+
traceroute:
550
+
enabled: true
551
+
```
552
+
553
+
2. Enable Dynamic Tests for NetFlow in `%ProgramData%\Datadog\datadog.yaml`:
554
+
555
+
```yaml
556
+
network_path:
557
+
netflow_monitoring:
558
+
enabled: true
559
+
collector:
560
+
monitor_ip_without_domain: true
561
+
```
562
+
563
+
`monitor_ip_without_domain: true` is required because Dynamic Tests for NetFlow target observed destination IP addresses and the Network Path collector skips IP-only targets by default.
564
+
565
+
3. Restart the Agent after making these configuration changes.
566
+
567
+
{{% /tab %}}
568
+
{{< /tabs >}}
569
+
570
+
After the Agent reports paths, open the [Network Path][4] UI and filter for `origin:netflow` to view paths generated from NetFlow traffic.
571
+
572
+
### Filter syntax
505
573
506
574
Configure filters to include or exclude domains and IPs, allowing you to:
507
575
508
576
- Reduce monitoring overhead for internal networks
509
577
- Focus on external traffic patterns
510
578
- Exclude known infrastructure ranges that don't require monitoring
511
579
580
+
The same `network_path.collector.filters` list applies to dynamic tests and Dynamic Tests for NetFlow. For Dynamic Tests for NetFlow, use `match_ip` filters because Dynamic Tests for NetFlow target observed destination IP addresses.
581
+
512
582
To include or exclude specific domains or IP ranges from dynamic tests, add the following to your `/etc/datadog-agent/datadog.yaml` file:
513
583
514
584
```yaml
515
585
network_path:
516
-
connections_monitoring:
517
-
enabled: true
518
586
collector:
519
587
filters:
520
588
# exclude single domain
@@ -596,8 +664,23 @@ If no data appears in the [Network Path][4] UI, the feature may not be fully ena
596
664
597
665
2. At least one Network Path feature must be active, such as:
598
666
599
-
- [Individual paths](#monitor-individual-paths) configured through the `conf.d/network_path.d` file.
600
-
- Experimental [network traffic paths](#network-traffic-paths-experimental) configured by enabling both `network_path.connections_monitoring` and [Cloud Network Monitoring][1](CNM).
667
+
- [Scheduled tests](#scheduled-tests) configured through the `conf.d/network_path.d` file.
668
+
- [Dynamic tests](#dynamic-tests) configured by enabling both `network_path.connections_monitoring.enabled` and [Cloud Network Monitoring][1].
669
+
- [Dynamic Tests for NetFlow](#dynamic-tests-for-netflow-experimental) configured by enabling `network_path.netflow_monitoring.enabled` and [NetFlow Monitoring][6].
670
+
671
+
### No Dynamic Tests for NetFlow data in the UI
672
+
673
+
If no paths with `origin:netflow` appear in the [Network Path][4] UI, verify the following:
674
+
675
+
1. The Agent is version `7.81+`.
676
+
2. [NetFlow Monitoring][6] is enabled and receiving flows.
677
+
3. The traceroute module is enabled in `system-probe.yaml`.
678
+
4. `network_path.netflow_monitoring.enabled` and `network_path.collector.monitor_ip_without_domain` are set to `true` in `datadog.yaml`.
679
+
5. Your `network_path.collector.filters` configuration does not exclude the destination IPs you expect to monitor.
680
+
681
+
Dynamic Tests for NetFlow automatically skip NetFlow records whose source IP is assigned to the Agent host before destination filters are evaluated. This prevents self-scheduling loops and is expected behavior. For NAT or alias cases where Agent-sourced traffic appears from another source IP, use `network_path.collector.source_excludes` to exclude those source IPs.
682
+
683
+
Then filter the Network Path UI for `origin:netflow`.
601
684
602
685
### Error: status code: 404
603
686
@@ -620,7 +703,5 @@ If you encounter an error like the following:
0 commit comments