Implementation of a centralized log monitoring system using grafana, loki, and alloy

Authors

  • Danur Wijayanto Universitas Aisyiyah Yogyakarta
  • Sharfina Mutia Syarifah Universitas Aisyiyah Yogyakarta

Keywords:

alloy, grafana, log monitoring, loki, prometheus

Abstract

Badan Pengembangan Teknologi dan Sistem Informasi (BPTSI) at Universitas Aisyiyah Yogyakarta manages a large number of websites, making it difficult for administrators to monitor web server logs manually. This manual process is inefficient for centrally observing server performance and security. This research aims to implement a centralized system capable of real-time monitoring of web server access and error logs, as well as performance metrics. The method used consists of three stages: preparation, configuration and integration, and testing. The system was built on the Grafana Cloud platform, which integrates Prometheus for metrics collection, Grafana Loki for log aggregation, and Grafana Alloy as the data collector on the client server. The results show a successful integration, producing a centralized dashboard that visualizes real-time access and error logs from 187 log files, along with Apache web server statistics such as CPU load, response time, and uptime. This system allows administrators to monitor the health and security of all web services efficiently from a single interface, eliminating the need for manual log file inspection.

References

BPTSI Unisa Yogyakarta. (n.d.). Layanan BPTSI Unisa Yogyakarta. Retrieved September 21, 2025, from https://bptsi.unisayogya.ac.id/layanan-badan-pengembangan-teknologi-dan-sistem-informasi/

Chakraborty, M. K., Ajit Pratap. (2021). Grafana. In Monitoring Cloud-Native Applications (pp. 187–200). Apress. https://doi.org/10.1007/978-1-4842-6888-9_6

Grafana Alloy. (n.d.). Retrieved September 21, 2025, from https://grafana.com/docs/alloy/latest/

Grafana Loki. (n.d.). Grafana Loki. Retrieved September 21, 2025, from https://grafana.com/oss/loki/

Husna, M. A., & Rosyani, P. (2021). Implementasi Sistem Monitoring Jaringan dan Server Menggunakan Zabbix yang Terintegrasi dengan Grafana dan Telegram. JURIKOM (Jurnal Riset Komputer), 8(6), 247. https://doi.org/10.30865/jurikom.v8i6.3631

Njoera, Y. A. D., Hartawan, I. N. B., & Krisna, E. D. (2024). The Analysis Of Honeypot Performance Using Grafana Loki And ELK Stack Visualization. Jurnal Info Sains : Informatika Dan Sains, 14(03). https://doi.org/10.54209/infosains.v14i03

Nurjanah, S., Sembiring, F., & Ayuningsih, R. R. (2024). Integration of Telegram Bot and Uptime KUMA for Wi-Fi Network Monitoring using Mikrotik. Jurnal Pilar Nusa Mandiri, 20(2), 118–126. https://doi.org/10.33480/pilar.v20i2.5535

Pradana, A., Widiasari, I. R., Efendi, R., & Informatika, T. (2022). Implementasi Sistem Monitoring Jaringan Menggunakan Zabbix Berbasis SNMP. AITI: Jurnal Teknologi Informasi, 19(Agustus), 248–262.

Prometheus. (n.d.). Overview—What is Prometheus? Prometheus. Retrieved March 16, 2025, from https://prometheus.io/docs/introduction/overview/

Sheeraz, M., Paracha, M. A., Haque, M. U., Durad, M. H., Mohsin, S. M., Band, S. S., & Mosavi, A. (2023). Effective Security Monitoring using Efficient SIEM Architecture. Human-Centric Computing and Information Sciences, 13(0), 16–30. https://doi.org/10.22967/HCIS.2023.13.023

Taiwo Joseph Akinbolaji, Godwin Nzeako, David Akokodaripon, & Akorede Victor Aderoju. (2024). Proactive monitoring and security in cloud infrastructure: Leveraging tools like Prometheus, Grafana, and HashiCorp Vault for Robust DevOps Practices. World Journal of Advanced Engineering Technology and Sciences, 13(2), 074–089. https://doi.org/10.30574/wjaets.2024.13.2.0543


Downloads

Published

2025-10-22

How to Cite

Wijayanto, D., & Syarifah, S. M. (2025). Implementation of a centralized log monitoring system using grafana, loki, and alloy. Proceeding International Conference on Health Science and Technology, 1, 86–91. Retrieved from https://proceeding.unisayogya.ac.id/index.php/proichst/article/view/1820

Issue

Section

Research