For the complete documentation index, see llms.txt. This page is also available as Markdown.

Network Baselining & Anomaly Detection

Network Copilot (NCP) brings AI-native intelligence to network operations by automatically building statistical baselines from historical telemetry and using them to detect anomalies, diagnose root causes, and surface performance risks, without manual threshold tuning. From time-series data validation to autonomous diagnostic playbooks, NCP gives operations teams the tools to move from reactive firefighting to proactive network management.

Data Ingestion & Baseline Validation

Before baselining can be trusted, the underlying data must be verified for completeness, consistency, and coverage. NCP lets you interrogate raw time-series tables directly to confirm data availability and integrity.

Capabilities Include:

  • Show all columns in the env_timeseries table.

  • What is the min and max timestamp in the env_timeseries table?

  • What is the min and max timestamp in the interface_stats table?

  • What is the min and max date in the pip_performance_stats table?

  • List all BigQuery tables and show row count for each.

  • How many days of data are available in the env_timeseries table?

  • How many days of data are available in the interface_stats table?

  • How many days of data are available in the pip_performance_stats table?

  • Are there any NULL timestamps in the env_timeseries table?

  • Show row counts per day in the env_timeseries table.

  • Are there any days with zero records in env_timeseries within the data window?

Pre-Computed Baselines (Hourly, Weekly, Monthly)

NCP maintains pre-computed statistical baselines across multiple time horizons, hourly, weekly, and monthly, capturing mean, standard deviation, and 3-sigma thresholds per device, interface, and circuit pair. These baselines power anomaly detection without requiring on-the-fly computation at query time.

Capabilities Include:

  • Show the hourly aggregated baseline for CPU utilization per device.

  • Show the hourly baseline with mean, stddev, and 3-sigma thresholds for cpu_utilization per device.

  • Show the hourly baseline with mean, stddev, and 3-sigma thresholds for memory_free_mb per device.

  • Show the hourly aggregated baseline for bandwidth_in and bandwidth_out per interface.

  • Show the hourly baseline for utilization_in and utilization_out per interface.

  • Show hourly baseline for device TKYOXE01 - how many rows are returned?

  • Show the weekly aggregated baseline for CPU utilization per device per weekday.

  • Show the weekly baseline with mean, stddev, and 3-sigma thresholds for cpu_utilization per device per weekday.

  • Show the weekly baseline with mean, stddev, and 3-sigma thresholds for memory_free_mb per device per weekday.

  • Show the weekly aggregated baseline for RTT and JITTER per SRC_HOST-DEST_HOST pair.

  • Show weekly baseline for a specific device - how many rows are returned?

  • Show the monthly aggregated baseline for CPU utilization per device per month.

  • Show the monthly baseline with mean, stddev, and 3-sigma thresholds for memory_free_mb per device per month.

  • Show the monthly aggregated baseline for bandwidth utilization per interface per month.

  • Show the monthly baseline for packet loss (LOST) per SRC_HOST-DEST_HOST pair per month.

  • Show monthly baseline for a specific device - how many months of data are available?

  • Compute CPU baseline for a specific device using only 1 week of data. What is the mean and stddev?

  • Compute CPU baseline for the same device using 2 weeks of data. How did the mean and stddev change?

  • Compute CPU baseline for the same device using 4 weeks of data. How did the 3-sigma thresholds shift?

Dynamic Baselining & Anomaly Detection

NCP dynamically profiles device and interface behavior using day-of-week and hour-of-day patterns, then flags deviations using 3-sigma statistical bounds, no user-defined thresholds required. This covers CPU, memory, interface utilization, RTT, jitter, and packet loss across the entire fleet.

Dynamic Baselining Capabilities Include:

  • How many devices do we have and what data is available for them?

  • Show me the hourly CPU baseline for the top 10 busiest devices.

  • Which devices show the biggest weekday-weekend gap? Flag anything which could be anomaly.

  • Now show me the same kind of baseline but for interface utilization, which circuits are the busiest and what's their normal profile?

  • Compare the CPU trends on weekdays vs weekends.

  • Find CPU anomalies using 3-sigma per device from env_timeseries.

  • Find memory anomalies using 3-sigma per device from env_timeseries.

  • Show CPU utilization anomalies across all devices from env_timeseries.

  • Show the hourly CPU baseline per device with mean, stddev, and 3-sigma upper/lower thresholds.

  • Compare the average CPU utilization per device on weekdays vs weekends. Show the difference and flag devices where weekend usage differs by more than 20% from weekday.

  • For each device, calculate the daily average CPU utilization for each weekday (Monday through Friday). Show the day-over-day difference between successive weekdays.

  • Which devices show statistically significant CPU deviations without any user-defined thresholds?

  • How many days of PIP data are being used to establish the baseline?

  • Generate a baseline profile for utilization_in per interface from interface_stats with 3-sigma bounds.

  • Generate a baseline profile for RTT per SRC_HOST-DEST_HOST pair with 3-sigma bounds.

  • Generate a baseline profile for JITTER per SRC_HOST-DEST_HOST pair with 3-sigma bounds.

  • Generate a baseline profile for packet loss (LOST) per device pair with 3-sigma bounds.

Proactive Anomaly Detection Capabilities Include:

  • What are the Top 5 most significant CPU utilization anomalies in the last 24 hours? Explain why each is anomalous.

  • What are the Top 5 most significant memory anomalies in the last 24 hours? Explain why each is anomalous.

  • Summarize the top 5 most critical issues.

  • Which interfaces have high discard rates?

  • Find device pairs where RTT exceeded 3 standard deviations from their historical average. Show the anomalous readings alongside the mean and stddev.

  • Find device pairs where JITTER exceeded 3 standard deviations from their historical average. Show the anomalous readings alongside the mean and stddev.

  • What are the Top 5 interfaces with the most significant bandwidth utilization anomalies in the last 24 hours?

  • For the top anomaly detected, show the device name, metric, observed value, baseline mean, stddev, and sigma deviation.

  • Show an anomaly that uses day-of-week and hour-of-day profiling in its explanation.

  • Are there any false positives, data points flagged as anomalous that are within 3-sigma of the baseline mean?

  • Show all CPU utilization readings that exceed 3-sigma from the baseline mean.

Z-Score Analysis Capabilities Include:

  • Calculate the Z-score of CPU utilization for each device for the most recent day available. Show readings where the absolute Z-score is greater than 2.

  • For the most recent timestamp per device in env_timeseries, calculate the Z-score of cpu_utilization and memory_free_mb across all devices. Rank the top 10 worst performers.

  • Calculate Z-score of utilization_in for each interface for the most recent timestamp. Show interfaces where absolute Z-score exceeds 2.

  • Calculate Z-score of RTT for each SRC_HOST-DEST_HOST pair for the most recent day. Show pairs where absolute Z-score exceeds 2.

  • Calculate Z-score of JITTER for each device pair for the most recent day. Show pairs where absolute Z-score exceeds 2.

Autonomous Diagnostic Playbooks

When an anomaly is detected, NCP can automatically execute a full diagnostic playbook, correlating the anomaly with topology, service impact, and related metrics to produce a structured root cause analysis (RCA) summary.

Capabilities Include:

  • A CPU anomaly was detected on device TKYOXE01. Run the full diagnostic playbook and provide the RCA summary.

  • A memory anomaly was detected. Produce an enriched RCA summary with device details, metric values, timeline, and probable cause.

  • A RTT anomaly was detected. Correlate it with topology_network to identify the affected circuit path.

  • A JITTER anomaly was detected. Enrich the summary with interface_stats error and discard data for the same interface.

  • Cross-reference the detected anomalies against topology_service to identify impacted customers and circuits.

  • Multiple anomalies share the same device. Chain them into a single consolidated diagnostic summary.

Circuit Performance, Bandwidth & Interface Health

NCP provides deep visibility into circuit-level performance metrics and interface health, covering latency, jitter, packet loss, utilization, errors, and discards, across all device pairs and interfaces in the network.

Circuit Performance Capabilities Include:

  • Any circuits experiencing high jitter right now?

  • Which circuits have the worst packet loss?

  • What's the overall average latency across all circuits?

  • Compare RTT and jitter for the top 10 busiest circuit paths.

  • Show average RTT, JITTER, and LOST for a specific SRC_HOST-DEST_HOST pair over the last 7 days.

  • Show circuit performance (RTT, JITTER, LOST) grouped by day for a given device pair.

  • Which SRC_HOST-DEST_HOST pair has the highest average packet loss in the last 30 days?

Bandwidth Utilization Capabilities Include:

  • Show bandwidth utilization across all interfaces.

  • Which interfaces are running hot, above 80%?

  • What's the average ingress vs egress per device?

  • Are any interfaces consistently saturated over the last 30 days?

  • Show utilization broken down by site, which locations are the most congested?

  • Show 95th percentile bandwidth utilization (in/out) per interface for the last 7 days.

  • Show 95th percentile bandwidth utilization grouped by site_location for the last 30 days.

  • Show daily average utilization_in and utilization_out trend for a specific interface.

Interface Health Capabilities Include:

  • Which interfaces have the highest discard rates?

  • Which interfaces have worsening drop rates over the past week?

  • Any interfaces with error rates outside their normal range?

  • List interfaces with the highest drop percentages.

  • Are there any interfaces where errors are more than 1% of total packets?

  • Are there any interfaces with both high errors and high utilization?

Capacity Watchlist Capabilities Include:

  • Which interfaces exceeded 80% utilization_in or utilization_out in the last 24 hours?

  • Which interfaces have sustained utilization above 70% over the last 7 days?

  • Show a capacity watchlist ranked by average utilization with circuit_id, device, and speed_mbps.

Top N Reports Capabilities Include:

  • Show Top 10 interfaces by average utilization_in over the last 7 days.

  • Show Top 10 interfaces by average errors_in + errors_out over the last 7 days.

  • Show Top 10 interfaces by average discards_in_perc + discards_out_perc over the last 7 days.

Inventory, Trend Analysis & Chart Generation

NCP maintains a live inventory of devices and interfaces, supports multi-week trend analysis for any metric, and can generate charts directly from natural language requests.

Device & Interface Inventory Capabilities Include:

  • How many devices do we have in our network?

  • How many devices per vendor?

  • Which sites have the most devices?

  • Show me a breakdown of OS versions across the fleet.

  • Which models have the most interfaces?

  • Show routers and their locations.

  • What's the interface density per device?

  • How many 10G vs 40G vs 100G interfaces do we have?

  • Which devices have the most down interfaces?

  • Show me port utilization summary by device type.

  • How many unused interfaces are there across the network?

  • Show all interfaces that are operationally down.

Trend Analysis Capabilities Include:

  • Show CPU utilization trend for a specific device over 1 week.

  • Show CPU utilization trend for a specific device over 2 weeks.

  • Show CPU utilization trend for a specific device over 30 days.

  • Show RTT trend for a specific SRC_HOST-DEST_HOST pair over the last 30 days.

  • Show bandwidth utilization trend for a specific interface over the last 30 days with daily granularity.

  • Show memory_free_mb trend for a specific device with hourly granularity over 1 week.

Chart Generation Capabilities Include:

  • Generate a bar chart of average CPU utilization per device for the top 10 busiest devices.

  • Generate a pie chart showing the distribution of anomaly counts by device model..

  • Generate a line chart of daily average RTT trend across all device pairs for the last 30 days.

  • Generate a bar chart comparing weekday vs weekend average CPU utilization per device.