![]() If awstats doesn't impress you, then you should try something more current. Then view your statistics with the processed data using browserÄelete the processed log files in /var/lib/awtstats (directory defined by DirData parameter) using RM although you have to be root. */10 * * * * root /usr/lib/cgi-bin/ -config= -update > /dev/null Once the config is done, process the config file by usr/share/doc/awstats/examples/ /var/log/apache2/access-anoneh.log.* > combined-anoneh.log Don't attempt to "cat" the log files, it won't work. You can if you must, combine multiple log files into one by tool. It could be "awstats-icon" like above or default "icons" so make sure both are pointing to the same folder. One for apache using alias and one for awstats eg. LogFormat=1 (otherwise, search keywords and browser stats will be null).LogFile="/var/log/apache2/anoneh_access.log".to allow these operations i put these lines through audit2allow like this: audit2allow -m httpdawstats <<EOF is an acronym for Advanced Web Statistics and is a free powerful and featureful tool that generates advanced web, streaming, ftp or mail server statistics, graphically. Since awstats is in perl, then you have to configure the cgi location Welcome to our tutorial on how to install and setup AWStats Log Analyzer on CentOS 8. 1585121, awstats produces regex warnings in version 7.4 with Perl 5.22 on Ubuntu 16.04 LTS. Setup ('/etc/awstats/nf' file, web server or permissions) may be wrong.Ĭheck config file, permissions and AWStats documentation (in 'docs' directory).Īctual Reason : Log files are not readable because log files are copied or moved. awstats (7.4+dfsg-1ubuntu0.3) xenial urgencymedium. You must edit it for using this version of AWStats. Once processing is done you can then view the stats from your browser.Ĭommon errors Error: SiteDomain parameter not defined in your config/domain file. LoadPlugin=tooltips, hashfiles & geoipfree.SkipHosts - Do not include access from clients that match following criteria.This processing is done by command line by specifying the config files. Since they will be looking at raw apache log files, it must be processed first. ![]() The idea is that with one installation of Awstats, you can check the hits of a particular domain by specifying in the parameter like
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |