Real-Time Anomaly Detection in Software-Defined Networks using an Integrated ELK Stack and Machine Learning Framework
Abstract Software-Defined Networking (SDN) enhances net-work programmability and management by separating the control and data planes. However, this centralized architec-ture introduces significant security vulnerabilities, making the controller a prime target and necessitating robust, real-time monitoring. Traditional tools often fall short in dynamic SDN environments. This paper presents an integrated framework for real-time anomaly detection in SDN. The system utilizes Mininet for SDN emulation with an OpenDaylight controller, and leverages the ELK stack [6] (Elasticsearch, Logstash, Kibana), augmented by Filebeat and RSyslog, for comprehensive log collection from both control and data planes. Logs are pro-cessed, parsed, and indexed for analysis. Machine learning capabilities within Kibana are employed for anomaly detection. Experimental results demonstrate successful centralized log management, real-time visualization of network activity, and the detection of 47 distinct anomaly events during simulated DDoS-like attacks, with these events further classified into 50 critical/major and 28 warning severity instances. The primary contribution is a practical, end-to-end system demonstrating effective real-time anomaly detection in SDN using a customized ELK and ML approach.
Authors
- Faycal Bensalah (ORCID: https://orcid.org/0000-0001-6170-5010)
- Anass Sebbar (ORCID: https://orcid.org/0000-0002-0526-3569)
- Youssef Baddi (ORCID: https://orcid.org/0000-0002-4139-9033)
- Mustapha Zeroual (ORCID: https://orcid.org/0009-0006-4040-9208)
Institutions
- International University of Rabat (MA)
- Chouaib Doukkali University (MA)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-11
- DOI
- https://doi.org/10.21203/rs.3.rs-10634218/v1
- Primary Topic
- Software-Defined Networks and 5G
- Type
- preprint