AI-Based Wi-Fi Traffic Profiling and Anomaly Detection System
Real-Time Traffic Analysis, Visualization, and Threat Detection in Wireless Networks
Abstract
Abstract— Network traffic monitoring plays an important role in maintaining the availability, reliability, and performance of modern network infrastructures. The increasing volume and complexity of network traffic require monitoring solutions that provide real-time visibility, traffic profiling, anomaly detection, and comprehensive usage analysis. This study proposes an AI-based Wi-Fi network traffic monitoring and analysis system that integrates ntopng for traffic collection, Python-based analytical modules, Prometheus for metrics aggregation, Grafana for visualization, K-Means Clustering for traffic profiling, and Isolation Forest for anomaly detection. The system was implemented in a wireless network environment using real network traffic data collected through the ntopng REST API. The collected traffic data were analyzed to identify traffic patterns, assess traffic severity, categorize network usage activities, and generate monitoring metrics for real-time visualization. The results demonstrate that the proposed system successfully performs traffic clustering, anomaly detection, usage categorization, dashboard-based monitoring, and automated alert integration. Furthermore, the generated analytical information provides insights into network utilization patterns that may support future Quality of Service (QoS) implementation, bandwidth allocation strategies, and intelligent network management. The integration of machine learning techniques with modern monitoring platforms contributes to more effective and centralized network monitoring.
Copyright (c) 2026 Micael Zecsen Saragih, Dedy Kiswanto, Jhon Gabriel Simarmata, Bryant Tinambunan

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution-ShareAlike 4.0 International License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
.png)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.


