![]() The script takes all subdirectories from /var/log/apache2 assuming that each of the subdirectories contains access.log and error.log file names. You have to follow the instructions in the commented head of the script.Īfter you have properly configured the script all you have to do is set it to be executed via crontab.Īgain in the script head I’ve included information with an example on how to add it to a crontab. The usage of the script is quite self explanatory. ![]() You can download the script to generate statistics from multiple log files awstats_generate_multiple_sites.sh from here. (We don’t collect any additional information about your site’s visitors beyond what you see in the logs.I’ve created a small shellscript that allows the administrator to build log statistics for multiple domain names. This is similar to the way Google Analytics handles anonymized IP addresses, and meets the GDPR requirement that “the data can no longer be attributed to a specific data subject without the use of additional information”. Instead, the last octet of an IPv4 address, or the last 80 bits of an IPv6 address, will be replaced with zeroes. When you do this, we don’t record the full IP address in the logs. If you need to anonymize or “pseudonymize” IP addresses in logs for legal/compliance reasons (such as for GDPR regulations), you can do so by creating an empty file named anonymize-ips in your logs directory (or asking us to do this for you). It's also possible to download the logs using SFTP or "scp", if you're familiar with those tools and comfortable making ssh connections.Ĭan I anonymize IP addresses in the logs? To do so, create an additional FTP account that has access to your "Web server logs directory", then connect to our server using that FTP account.Īlternately, if you're installing your own statistics program as a CGI script on our server, the raw log files can be found in the "logs/web" directory of your home directory. If you would prefer, you can also use an FTP program to download these files. You can find the log files by selecting "Manage Private Home Directory" and then opening the "logs" folder. You can also download these files to your computer using a web browser and our file manager. ![]() Many Web statistics programs are also able to work directly with gzip and bzip2 files, even if you don't decompress them.Īccessing the log files using other methods Gzip and bzip2 are standard Unix compression formats you can decompress them with programs like WinZip or PKZIP on Windows or Stuffit Expander on the Macintosh. We keep raw log files for 3 years you should make your own copies of them on your own computer or elsewhere if you need to access them for a longer period. Recent daily access log files are stored in gzip (.gz) format, and older monthly access log files are stored in bzip2 (.bz2) format for greater compression to minimize disk space usage. Login to the “My Account” control panel ( having trouble?).You can view some information about the logs in your Web browser. Can I anonymize IP addresses in the logs?.Accessing the log files using other methods.The error log files are generated live (in realtime), and are available for five days. The previous day's log files are usually available by 4 AM Pacific time. The access log files are generated daily, and are available for three years. The server generates "access logs" showing each "hit", and "error logs" showing error messages from the Web server and any script you install. These are the somewhat cryptic files generated by the Apache Web server that show each "hit" to your site. If you're an advanced user and you would like to use your own Web statistics program, or you need to see the technical details of every connection made to your website for some other reason, you can access the "raw" log files yourself. To see a more detailed answer customized for you, type your domain name here:
0 Comments
Leave a Reply. |