diff --git a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/netflow-analytics.mdx b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/netflow-analytics.mdx new file mode 100644 index 000000000000000..f66d40c120a1bde --- /dev/null +++ b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/netflow-analytics.mdx @@ -0,0 +1,13 @@ +--- +title: NetFlow statistics +pcx_content_type: how-to +sidebar: + order: 3 +head: + - tag: title + content: Magic WAN Connector NetFlow Analytics +--- + +import { Render } from "~/components"; + + \ No newline at end of file diff --git a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/network-analytics.mdx b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/network-analytics.mdx index ff616d073fab75f..15c4a9f006b622d 100644 --- a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/network-analytics.mdx +++ b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/network-analytics.mdx @@ -1,5 +1,5 @@ --- -title: Network Analytics +title: Network analytics pcx_content_type: how-to sidebar: order: 2 diff --git a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/packet-captures.mdx b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/packet-captures.mdx index ac90adbccfd652f..63a1eeef9ea8939 100644 --- a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/packet-captures.mdx +++ b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/packet-captures.mdx @@ -3,6 +3,6 @@ pcx_content_type: navigation title: Packet captures external_link: /magic-firewall/packet-captures/ sidebar: - order: 4 + order: 5 --- diff --git a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-bandwidth.mdx b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-bandwidth.mdx index 3c2631b46b18b39..8551d76bf719a3b 100644 --- a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-bandwidth.mdx +++ b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-bandwidth.mdx @@ -2,7 +2,7 @@ pcx_content_type: configuration title: Querying Magic WAN tunnel bandwidth analytics with GraphQL sidebar: - order: 5 + order: 6 --- diff --git a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-tunnel-health.mdx b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-tunnel-health.mdx index 6fa47b5d2743032..bf3760572973d08 100644 --- a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-tunnel-health.mdx +++ b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/query-tunnel-health.mdx @@ -2,7 +2,7 @@ pcx_content_type: configuration title: Querying Magic WAN tunnel health check results with GraphQL sidebar: - order: 6 + order: 7 --- diff --git a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/traceroutes.mdx b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/traceroutes.mdx index 55238b7d561cc20..f83841f81f83c81 100644 --- a/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/traceroutes.mdx +++ b/src/content/docs/cloudflare-one/networks/connectors/wan-tunnels/analytics/traceroutes.mdx @@ -2,7 +2,7 @@ title: Traceroutes pcx_content_type: how-to sidebar: - order: 3 + order: 4 --- import { Render } from "~/components"; diff --git a/src/content/docs/magic-wan/analytics/netflow-analytics.mdx b/src/content/docs/magic-wan/analytics/netflow-analytics.mdx new file mode 100644 index 000000000000000..f66d40c120a1bde --- /dev/null +++ b/src/content/docs/magic-wan/analytics/netflow-analytics.mdx @@ -0,0 +1,13 @@ +--- +title: NetFlow statistics +pcx_content_type: how-to +sidebar: + order: 3 +head: + - tag: title + content: Magic WAN Connector NetFlow Analytics +--- + +import { Render } from "~/components"; + + \ No newline at end of file diff --git a/src/content/docs/magic-wan/analytics/network-analytics.mdx b/src/content/docs/magic-wan/analytics/network-analytics.mdx index 5d809f9ecb2d850..01f027306ea8d3b 100644 --- a/src/content/docs/magic-wan/analytics/network-analytics.mdx +++ b/src/content/docs/magic-wan/analytics/network-analytics.mdx @@ -1,5 +1,5 @@ --- -title: Network Analytics +title: Network analytics pcx_content_type: how-to sidebar: order: 2 diff --git a/src/content/docs/magic-wan/analytics/packet-captures.mdx b/src/content/docs/magic-wan/analytics/packet-captures.mdx index ac90adbccfd652f..63a1eeef9ea8939 100644 --- a/src/content/docs/magic-wan/analytics/packet-captures.mdx +++ b/src/content/docs/magic-wan/analytics/packet-captures.mdx @@ -3,6 +3,6 @@ pcx_content_type: navigation title: Packet captures external_link: /magic-firewall/packet-captures/ sidebar: - order: 4 + order: 5 --- diff --git a/src/content/docs/magic-wan/analytics/query-bandwidth.mdx b/src/content/docs/magic-wan/analytics/query-bandwidth.mdx index 3c2631b46b18b39..8551d76bf719a3b 100644 --- a/src/content/docs/magic-wan/analytics/query-bandwidth.mdx +++ b/src/content/docs/magic-wan/analytics/query-bandwidth.mdx @@ -2,7 +2,7 @@ pcx_content_type: configuration title: Querying Magic WAN tunnel bandwidth analytics with GraphQL sidebar: - order: 5 + order: 6 --- diff --git a/src/content/docs/magic-wan/analytics/query-tunnel-health.mdx b/src/content/docs/magic-wan/analytics/query-tunnel-health.mdx index 6fa47b5d2743032..bf3760572973d08 100644 --- a/src/content/docs/magic-wan/analytics/query-tunnel-health.mdx +++ b/src/content/docs/magic-wan/analytics/query-tunnel-health.mdx @@ -2,7 +2,7 @@ pcx_content_type: configuration title: Querying Magic WAN tunnel health check results with GraphQL sidebar: - order: 6 + order: 7 --- diff --git a/src/content/docs/magic-wan/analytics/traceroutes.mdx b/src/content/docs/magic-wan/analytics/traceroutes.mdx index 1512b274f4945ac..336f7ec6ebd6906 100644 --- a/src/content/docs/magic-wan/analytics/traceroutes.mdx +++ b/src/content/docs/magic-wan/analytics/traceroutes.mdx @@ -2,7 +2,7 @@ title: Traceroutes pcx_content_type: how-to sidebar: - order: 3 + order: 4 --- import { Render } from "~/components"; diff --git a/src/content/partials/networking-services/account-id-api-key.mdx b/src/content/partials/networking-services/account-id-api-key.mdx index 1d5b1e5cd24f045..a5cfcb2c986ef0e 100644 --- a/src/content/partials/networking-services/account-id-api-key.mdx +++ b/src/content/partials/networking-services/account-id-api-key.mdx @@ -3,6 +3,14 @@ --- +import { Markdown } from "~/components"; + +{/* + Conditional rendering based on showSiteId prop: + - When showSiteId=true (NetFlow page): "To export NetFlow statistics, you will need your [account ID] and [API token], as well as the `site_id` associated with your Magic WAN Connector." + - When showSiteId=false/undefined (other pages): "You will need your [account ID] and [API token] to use the API." + The ternaries only render the differing prefix and suffix to avoid content duplication. +*/} :::note -You will need your [account ID](/fundamentals/account/find-account-and-zone-ids/) and [API Key](/fundamentals/api/get-started/keys/#view-your-global-api-key) to use the API. + ::: diff --git a/src/content/partials/networking-services/mconn/network-options/app-aware-policies/breakout-prioritized.mdx b/src/content/partials/networking-services/mconn/network-options/app-aware-policies/breakout-prioritized.mdx index 1df28683b3e54a7..47bbcd8635dd455 100644 --- a/src/content/partials/networking-services/mconn/network-options/app-aware-policies/breakout-prioritized.mdx +++ b/src/content/partials/networking-services/mconn/network-options/app-aware-policies/breakout-prioritized.mdx @@ -351,6 +351,14 @@ To pin applications to a WAN port: ) } + +{props.magicWord === "breakout" && ( + <> + + + ) +} + { props.magicWord === "breakout" && ( <> diff --git a/src/content/partials/networking-services/mconn/network-options/app-aware-policies/netflow.mdx b/src/content/partials/networking-services/mconn/network-options/app-aware-policies/netflow.mdx new file mode 100644 index 000000000000000..0074a1a5d80741d --- /dev/null +++ b/src/content/partials/networking-services/mconn/network-options/app-aware-policies/netflow.mdx @@ -0,0 +1,50 @@ +--- +{} +--- + +import { CURL, Render } from "~/components"; + +## NetFlow exports from Magic WAN Connector to Magic Network Monitoring + +You can configure your Magic WAN Connector to export Netflow statistics for local breakout traffic to [Magic Network Monitoring](/magic-network-monitoring). This provides visibility into traffic that leaves your site directly, bypassing the Cloudflare network. + +The Magic WAN Connector appliance uses NetFlow v9 to export flow data for breakout traffic only. You can enable and configure this export by setting the Netflow configuration for the associated site via the Cloudflare API. + +### Enable NetFlow exports + + + +1. Send a `PUT` request to the Netflow configuration endpoint for your site. +2. In the JSON body request, you must include the `collector_ip` parameter. To export traffic statistics to Magic Network Monitoring, use the IP address `162.159.65.1`. This is the only field required to enable the feature. + +Minimal configuration example: + + + +3. You can customize the configuration by adding optional fields to the JSON payload. These fields include: +- `collector_port`: The UDP port for the collector. The default is `2055`. +- `sampling_rate`: The rate at which packets are sampled. +- `active_timeout`: The timeout for active flows in seconds. +- `inactive_timeout`: The timeout for inactive flows in seconds. + +Full configuration example: + + + +Your Magic WAN Connector will now begin exporting Netflow data for its breakout traffic, which will be ingested and visualized within your Magic Network Monitoring dashboard. You can retrieve the current settings by sending a `GET` request, or disable the export by sending a `DELETE` request to the same endpoint.