Your SlideShare is downloading. ×
FreeBSD Log Analyzer
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

FreeBSD Log Analyzer

913
views

Published on

a tutorial guide explaining how to install FreeBSD to use webalizer, an experience at IMTelkom (http://www.imtelkom.ac.id)

a tutorial guide explaining how to install FreeBSD to use webalizer, an experience at IMTelkom (http://www.imtelkom.ac.id)

Published in: Education, Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
913
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
15
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Standar Instalasi FreeBS D @ Institut Manajemen Telkom ( http://www.imtelkom.ac.id)Instalasi WebalizerWebalizer adalah aplikasi untuk menganalisa log file dari squid dan apache danmenampilkan hasil analisanya di web dalam format tabel dan grafik. Analisa yangbisa diberikan oleh webalizer mencakup : 1. Situs yang banyak diakses 2. Situs yang banyak di-download 3. User yang banyak mengakses 4. User yang banyak men-downloadDimana analisa diberikan dalam time frame daily, monthly, yearly.Instalasi Webalizer sangat sederhana :# cd /usr/ports/www/webalizer# make install clean……… <tunggu sampai selesai> ………Edit file konfigurasi webalizer di /usr/local/etc/webalizer.conf# cat /usr/local/etc/webalizer.confLogType clf  untuk menganalisa log file Apache (httpd-access.log)LogType squid  untuk menganalisa log file Squid (access.log)OutputDir /data/web/usageHistoryName webalizer.histPageType htm*PageType cgiPageType php*PageType plQuiet yesReallyQuiet yesCountryGraph noDailyGraph noDailyStats noHourlyGraph yesHourlyStats noGraphLegend yesGraphLines 5TopSites 100  menganalisa 100 situs yg paling banyak diaksesTopKSites 0TopURLs 100  menganalisa 100 URL yg paling banyak diaksesTopKURLs 0TopReferrers 0TopAgents 0TopCountries 0TopEntry 0TopExit 0TopSearch 0TopUsers 0HideURL *.gifHideURL *.GIFHideURL *.jpgHideURL *.JPGHideURL *.pngHideURL *.PNG
  • 2. Standar Instalasi FreeBS D @ Institut Manajemen Telkom ( http://www.imtelkom.ac.id)HideURL *.raCatatan :LogType hanya boleh 1 saja (Apache atau Squid). Untuk menganalisa ke-2 log(Apache dan Squid), maka kita harus membuat 2 buah webalizer.conf.Lalu jalankan Webalizer dgn menggunakan shell script yg diaktifkan via cron sptcontoh di bawah ini :WEBALIZER="/usr/local/bin/webalizer"WEBALIZER_OPTION="-Q -F clf -c /usr/local/etc/webalizer.conf"TODAY=`date "+%Y%m%d"`/usr/local/sbin/apachectl stop/bin/mv /var/log/httpd-access.log /var/log/${TODAY}.httpd-access.log/bin/mv /var/log/httpd-error.log /var/log/${TODAY}.httpd-error.log/usr/bin/touch /var/log/httpd-access.log/usr/bin/touch /var/log/httpd-error.log/usr/local/sbin/apachectl start${WEBALIZER} ${WEBALIZER_OPTION} /var/log/${TODAY}.httpd-access.log

×