Plesk keeps the configuration files for AWStats in the following folder:
/usr/local/psa/etc/awstats
At the end of the configuration files for the domain for HTTP+S is the following line for custom changes as the files gets overwritten by Plesk:
/etc/awstats/awstats.conf.local
My question is now how could I combine both logs for HTTP and HTTPS in the log analysis for AWStats to product a combination of both? Means visitors for HTTP and HTTPS for the domain should be aggregated into one summary file of AWStats (without getting overwritten by Plesk).
Note: I'm aware of the following: What should Server Fault do with questions about web hosting control panels? but this question is generally about AWStats, Plesk just plays the role of overwriting some configuration files, nothing deeply related to the question itself imho.
Best Answer
Following https://www.howtoforge.com/logresolvemerge.pl_merge_apache_access_logs
With Awstats there is a tool logresolvemerge.pl which allows you to merge different files in just one, very useful for your situation or where you have several webservers loadbalanced.
You should use it like
Hope it helps.