EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Optimized K-Means Clustering for Web Server Anomaly Detection Using Elbow Method and Security-Rule Enhancements

Rahmawan Bagus Trianto, Muhammad Abdul Muin, Cahya Vikasari

Journal of Information Systems and Informatics · 10.12.2025 · 7 (4) · 3601-3625

DOI: 10.63158/journalisi.v7i4.1391 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Information Systems and Informatics, online erschienen am 10.12.2025. Verfasst von Rahmawan Bagus Trianto und 2 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref). Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Anomaly detection in web server environments is essential for identifying early indicators of cyberattacks that arise from abnormal request behaviors. Traditional signature-based mechanisms often fail to detect emerging or obfuscated threats, requiring more adaptive analytical approaches. This study proposes an optimized anomaly detection model using K-Means clustering enhanced with engineered security-rule features and the Elbow Method. Two datasets were used: a small dataset of 3,399 log entries from one VPS and a large dataset of 223,554 entries collected from three VPS nodes, all sourced from local production servers of the Department of Computer and Business, Politeknik Negeri Cilacap. The preprocessing pipeline includes timestamp normalization, removal of non-informative static resources, numerical feature scaling, and TF-IDF encoding of URL paths. Domain-driven security features entropy scores, encoded-payload indicators, abnormal status-code ratios, and request-rate deviations were integrated to improve anomaly separability. Experiments across five model configurations show that combining larger datasets with rule-based features significantly enhances clustering performance, achieving a Silhouette Score of 0.9136 and a Davies–Bouldin Index of 0.4712. The results validate the effectiveness of incorporating security-rule engineering with unsupervised learning to support early-warning threat detection in web server environments.

Zitieren

APA

Trianto, R. B., Muin, M. A., & Vikasari, C. (2025). Optimized K-Means Clustering for Web Server Anomaly Detection Using Elbow Method and Security-Rule Enhancements. Journal of Information Systems and Informatics, 7(4), 3601-3625. https://doi.org/10.63158/journalisi.v7i4.1391

Vancouver

Trianto RB, Muin MA, Vikasari C. Optimized K-Means Clustering for Web Server Anomaly Detection Using Elbow Method and Security-Rule Enhancements. Journal of Information Systems and Informatics. 2025;7(4):3601-3625. doi:10.63158/journalisi.v7i4.1391

BibTeX
@article{Trianto2025,
  author = {Trianto, Rahmawan Bagus and Muin, Muhammad Abdul and Vikasari, Cahya},
  title = {Optimized K-Means Clustering for Web Server Anomaly Detection Using Elbow Method and Security-Rule Enhancements},
  journal = {Journal of Information Systems and Informatics},
  year = {2025},
  volume = {7},
  number = {4},
  pages = {3601--3625},
  doi = {10.63158/journalisi.v7i4.1391}
}
Kostenlos starten →