
Hopefully someone smarter then me can help me. I'm pretty sure I set it up correctly but now I cannot figure out why this is happening. It also produced the file in the DatDir: /var/lib/awstats/ which contains what I would expect.īUT when I visit: /awstats/ it tells me Last Update: Never updated (See 'Build/Update' on awstats_setup.html page)Īnd the rest of the page is blank. If DNS lookup was already made by the logger (web server), you should change your setup DNSLookup=1 into DNSLookup=0 to increase awstats speed. Warning: awstats has detected that some hosts names were already resolved in your logfile /usr/share/doc/awstats/examples/ /var/|. Phase 2 : Now process new records (Flush history on disk after 20000 hosts).

Searching new records from beginning of log file. Phase 1 : First bypass old records, searching new record.

AWSTATS APACHE MANUAL
As instructed I ran a manual build/update which ran fine: sudo -u -config=Ĭreate/Update database for config "/etc/awstats/" by AWStats version 6.9 (build 1.925)įrom data in log file "/usr/share/doc/awstats/examples/ /var/|". # Example: "/pathtotools/ *.I've setup AWStats on my VPS to get some more insight into the traffic coming to my site. # If there are several log files from load balancing servers : # You can also use a pipe if log file come from a pipe : # Use 0 for n if you need current year, month, day, hour. # %Dw-n is replaced with the day number in week (0-6, 0=sunday) # %DW-n is replaced with the day number in week (1-7, 1=sunday) # %Wy-n is replaced with the week number in year (00-51)
AWSTATS APACHE INSTALL
# %WY-n is replaced with the week number in year (01-52) Step 1 Setup EPEL Repository Step 2 Install Apache Server Step 3: Install AWStats Step 4: Configure AWStats For Apache Step 5: Create the AWStats. # %Wm-n is replaced with the week number in month (0-4) # %WM-n is replaced with the week number in month (1-5) # %NS-n is replaced with number of seconds at 00:00 since 1970 # %HH-n is replaced with hour we were n hours ago # %DD-n is replaced with day we were n hours ago Perl and other required dependencies installed. Install Awstats Configure Apache Configure Awstats Generate the first stats Automate it using cron This article comes in 2 pages. Apache web server installed and configured.

# %MO-n is replaced with 3 letters month we were n hours ago Prerequisites A VPS or dedicated server with a Linux operating system installed. 33 I have many old log files (apache) and they span 3 different VPS servers I've had so there are different sets with the same name: old vps 1 (jan. # %MM-n is replaced with 2 digits month we were n hours ago # %YY-n is replaced with 2 digits year we were n hours ago # %YYYY-n is replaced with 4 digits year we were n hours ago # depending on date or time (Replacement is made by AWStats at the beginning

# You can also use tags in this filename if you need a dynamic file name Alias /awstatsclasses /usr/local/awstats/wwwroot/classes/ Alias /awstatscss /usr/local/awstats/wwwroot/css/ Alias /awstatsicons.
AWSTATS APACHE FULL
# Possible values: A full path, or a relative path from directory. A) Setup for an Apache or compatible web server (on Unix/Linux, Windows, MacOS.) Step 1. # "LogFile" contains the web, ftp or mail server log file to analyze. AWStats is a free and open-source log analyzer that provides detailed insights into the traffic of your Apache web server. Setup: Installation and configuration using.
AWSTATS APACHE CODE
So I realized AWSTATS provides tags which you can use to dynamically represent the date which means you don't have to manually change the date each day (whether it be with custom code or actually changing the LogFile path each day).
