solidays.blogg.se

Awstats apache log format
Awstats apache log format








awstats apache log format
  1. AWSTATS APACHE LOG FORMAT HOW TO
  2. AWSTATS APACHE LOG FORMAT INSTALL

LoadPlugin="geoipfree" (you may have to install additional software for this to work – it shows country names instead of numbers)Įdit as well, making sure that the log file name and domain name reflect this particular site. LogFile="/var/log/apache2/access-myblog.log" (replace and with your actual domain names)Įdit the file as follows (these are the default values that usually work): Make a copy of the Awstats configuration file for each site:Ĭp /etc/awstats/nf /etc/awstats/Ĭp /etc/awstats/nf /etc/awstats/

awstats apache log format

Create a unique log file name so that Awstats can separate each web site’s data. (myblog is your conf file name, often it is the same as the domain name) and modify the log entry:ĬustomLog $/access-myblog.log combinedĭo the same for the Apache virtual host file. Open the Apache virtual host configuration file /etc/apache2/sites-available/nf The guide has been tested on Debian 8 (Jessie) and Debian 10 (Buster) with Apache 2.4. Assuming you already have Awstats running and generating statistics for a web site, here are the steps you have to take to make it work for multiple virtual hosts. If you want to separate statistics for each virtual host, Awstats can do it, but it requires a little bit of configuration. A quite typical setup for a web server powered by Apache is to configure it to manage multiple web sites.

AWSTATS APACHE LOG FORMAT HOW TO

Our earlier article explains how to install and configure Awstats for a web site, such as WordPress, Drupal or for another site, but now, I will guide you through the process of configuring Awstats for a server that runs multiple web sites. Statistics for the number of visitors, most visited pages, referrers, search engines, browser apps, keywords, and other information is displayed on a dashboard. A web server, such as Apache, continuously writes log files that Awstats reads and where it extracts the data.Īwstats can analyze web, email, and ftp server data. It inserts data into a database so that it is easy to view historical statistics and compare it to today’s numbers. Awstats is a web traffic analytics software package that collects statistical data about visitors of a web site.










Awstats apache log format