We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am unable to import Apache logs from an ubuntu host running ubuntu 20.04.06 x86_64 with python 3.8. The output I get importing the log file is:
0 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) Parsing log /var/log/apache2/access_matomo.log... 2024-06-04 19:06:16,798: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:16,798: [INFO] Retrying request, attempt number 2 2024-06-04 19:06:17,063: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:17,063: [INFO] Retrying request, attempt number 2 2024-06-04 19:06:17,124: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:17,124: [INFO] Retrying request, attempt number 2 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2024-06-04 19:06:27,198: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:27,198: [INFO] Retrying request, attempt number 3 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2024-06-04 19:06:27,637: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:27,637: [INFO] Retrying request, attempt number 3 2024-06-04 19:06:27,753: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:27,753: [INFO] Retrying request, attempt number 3 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2400 lines parsed, 0 lines recorded, 0 records/sec (avg), 0 records/sec (current) 2024-06-04 19:06:37,517: [INFO] Error when connecting to Matomo: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte 2024-06-04 19:06:37,517: [INFO] Max number of attempts reached, server is unreachable! Fatal error: 'utf-8' codec can't decode byte 0x80 in position 10: invalid start byte
If I import using the described Apache method my logs are imported.
matomo-log-analytics/import_logs.py is the latest version from git.
matomo-log-analytics/import_logs.py
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I am unable to import Apache logs from an ubuntu host running ubuntu 20.04.06 x86_64 with python 3.8. The output I get importing the log file is:
If I import using the described Apache method my logs are imported.
matomo-log-analytics/import_logs.py
is the latest version from git.The text was updated successfully, but these errors were encountered: