Hands-on tutorial
Tutorials · AI
How to Use AI and Baselines to Detect Network Anomalies
Learn what normal looks like on your network, then let statistics and machine learning flag unusual traffic, logins and device behaviour before they become incidents.
Before you start
- Flow data (NetFlow/sFlow), logs and device metrics collected centrally
- At least several weeks of history
- A team that reviews and tunes alerts
Step by step
Collect the right data
Flows show who talks to whom; DNS and authentication logs show what users do; device metrics show health. Anomaly detection is only as good as its data.
Build baselines
Compute normal ranges per hour and weekday: traffic per site, connections per device, logins per user. Weekly patterns matter more than averages.
Start with simple rules
Flag clear deviations: a camera talking to the internet, a printer scanning ports, a user logging in from two countries at once, traffic at 3 a.m. to a new destination.
Add machine learning carefully
Models can learn normal behaviour per device group and flag outliers. Start with one use case, such as unusual data volume leaving the network.
Tune and give context
Every alert should show what is unusual and compared to what. Suppress known, approved changes and review false positives weekly.
Connect to response
Send confirmed anomalies to your SIEM or ticketing, with a runbook: check, contain, investigate.
Pro tips
- Group devices by role; a camera and a server have very different normal behaviour.
- Retrain baselines after big changes such as a new site or system.
- AI assists analysts; it does not replace them.
FAQ
Frequently asked questions
Does anomaly detection replace a firewall or IDS?
No. It complements them by finding unusual behaviour that signatures miss.
How much history is needed?
Several weeks give a useful baseline; more helps with monthly patterns.
Keep learning
Related guides
NetFlow, IPFIX and sFlow
Read more →NavCloud AI Insights
Read more →Wazuh SIEM centralised logging
Read more →How to Use NavCloud AI Insights to Fix Problems Before Users Notice
NavCloud AI Insights turns alarms, inventory and telemetry from every site into a network health index and a short, prioritised list of findings with the action that fixes each one.
Read more →How to Set Up AI Smart Events on IP Cameras (Intrusion, Line Crossing, Human/Vehicle)
AI cameras classify people and vehicles on the camera itself, so you get far fewer false alarms from trees, rain and animals. Configure smart events and record only what matters.
Read more →How to Plan the Network for AI Cameras and Video Analytics
AI video means more streams, higher resolutions and analytics servers pulling video from many cameras. Size bandwidth, PoE and storage before you install.
Read more →Stuck on a step?
Ask Navijin technical support or an authorised partner for help with your configuration.