Anomaly Detection in Application Logs with Attention Mechanism-Enhanced LSTM
As digital technology continues to spread across various sectors, the need for robust cybersecurity becomes increasingly critical. One way to ensure security is by identifying potential threats and anomalies through application log analysis. Traditional methods that rely only on rule-based detection are often insufficient to adapt to new attack patterns. This research addresses these limitations by integrating rule-based detection with Sigma rules into the ELK (Elasticsearch, Logstash, Kibana) platform to generate a structured dataset. Logs are collected from monitored applications and categorized into normal, system anomalies, or user anomalies. A modified long short-term memory (lstm) model with an attention mechanism is trained on the labeled dataset to improve anomaly detection. Experimental results show that the LSTM model with the attention mechanism achieves the highest performance, with an accuracy of 98.52%, precision of 98.66%, recall of 98.52%, and an F1-score of $\mathbf{9 8. 5 5 \%}$, outperforming RNN, GRU, and standard LSTM models in anomaly detection.
Authors
- Royyana Muslim Ijtihadie (ORCID: https://orcid.org/0000-0001-7168-1235)
- Adetiya Bagus Nusantara
- Hudan Studiawan (ORCID: https://orcid.org/0000-0002-8884-6208)
Institutions
- Sepuluh Nopember Institute of Technology (ID)
Publication Details
- Published
- 2025-06-20
- DOI
- https://doi.org/10.1109/conit65521.2025.11167751
- Primary Topic
- Anomaly Detection Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00