Use GoAccess for Monitoring Log Activity


Assalamualaikum Wr.Wb
Hari ini, saya mencoba menjabarkan proyek dari mas Rojes untuk menemukan cara Monitoring Log File dan menghubungkan ke Database, saya menemukan software ini di www.tecmint.com ketika sedang berjalan jalan, bagaimana cara menginstallnya? simak penjelasannya berikut 

A. Pengertian
GoAccess is an interactive and real time web server log analyzer program that quickly analyze and view web server logs. It comes as an open source and runs as a command line in Unix/Linux operating systems. It provides brief and beneficial HTTP (web server) statistics report for Linux administrators on the fly. It also take care of both the Apache and Ngnix web server log formats.
GoAccess parses and analyze the given web server log formats in preferred options including CLF (Common Log Format), W3C format (IIS) and Apache virtual hosts and then generate output of the data to the terminal.

B. Latar Belakang dan Tujuan
Mewujudkan proyek dan tantangan dari mas Rojes di BLC Telkom Klaten

C. Isi
1. Download GoAccess dengan perintah :
# wget http://tar.goaccess.io/goaccess-0.9.8.tar.gz
# apt-get install goaccess

2. Tambahkan perintah dibawah ini :
$ echo "deb http://deb.goaccess.io/ 
$(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list 
$ wget -O - http://deb.goaccess.io/gnugpg.key | sudo apt-key add -
 $ sudo apt-get update $ sudo apt-get install goaccess

3. Menjalankan? ketik goaccess


 4. Edit file ini untuk menampilkan LOG Secara otomatis.

 5. Pengaturan format waktu dan rutinitas log otomatis
 6. Tampilan versi Bash

D. Kesimpulan
Memudahkan monitoring kalau ada yang bertindak aneh aneh
Wassalmualaikum Wr.Wb

Previous
Next Post »

Recommended