Dear Experts,
I have a website hosted at A2 Hosting.
Recently, using CPanel, and Softaculous, I installed Matomo onto the server.
NOT Wordpress.
The idea is to use Matomo to track all the traffic,
via the web server logs, as described here
The scripts I tried to import the web server logs
ran, but did not work. ie.
/bin/python3.6 /home/the_website/public_html/misc/log-analytics/import_logs.py --url=https://the_website.com file=/home/the_website/logs/unzipped/writing.the_website.com-ssl_log-Dec-2022
Output below.
What is the correct command to import the web server logs?
Thanks
0 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current)
Logs import summary
0 requests imported successfully
0 requests were downloads
0 requests ignored:
0 HTTP errors
0 HTTP redirects
0 invalid log lines
0 filtered log lines
0 requests did not match any known site
0 requests did not match any --hostname
0 requests done by bots, search engines...
0 requests to static resources (css, js, images, ico, ttf...)
0 requests to file downloads did not match any --download-extensions
Website import summary
0 requests imported to 0 sites
0 sites already existed
0 sites were created:
0 distinct hostnames did not match any existing site:
Performance summary
Total time: 0 seconds
Requests imported per second: 0.0 requests per second
Processing your log data
In order for your logs to be processed by Matomo, you may need to run the following command:
./console core:archive --force-all-websites --url='https://the_website.com'