Sandro Cantagallo
Sandro Cantagallo
> In the first place, why would you name your table and/or fields too long? cause I can do it?
> Why more than 64 characters? Mysql Limit: https://dev.mysql.com/doc/refman/8.0/en/identifier-length.html
> I'm not trying to be rude or something. I'm asking a genuine question. If there exists a limitation of 64 characters then developers should be wary of that and...
After some try i understand the problem. I have Open for some customization the csv file with OPENOFFICE. With OpenOffice i must declare that SKU is (TEXT) if not after...
I think that problem is in log format that is not compatible. If i use: --dump-log-regex I receive: ``` 2023-10-30 11:29:03,565: [INFO] Using format 'common'. 2023-10-30 11:29:03,565: [INFO] Regex being...
I Make this test: ```PYTHON import re regex_pattern = r'(?P[\w*.:-]+)\s+\S+\s+(?P\S+)\s+\[(?P.*?)\s+(?P.*?)\]\s+"(?P\S+)\s+(?P.*?)\s+\S+"\s+(?P\d+)\s+(?P\S+)\s+(?P.+)' input_string = '192.168.32.229 - - [29/Oct/2023:03:45:19 +0100] "GET /relazione-annuale/relazione_annuale_2022.html HTTP/1.1" 200 27518 Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36...
I found that there is this parameter --log-format-regex='' that must resolve problem but if i use the regolar expression create: r'(?P[\w*.:-]+)\s+\S+\s+(?P\S+)\s+\[(?P.*?)\s+(?P.*?)\]\s+"(?P\S+)\s+(?P.*?)\s+\S+"\s+(?P\d+)\s+(?P\S+)\s+(?P.+)' Script go in error.
So i modify the script: misc/log-analytics/import_logs.py Added new FORMAT to regular expression: ```python _TEST_EXTENDED_LOG_FORMAT = (_COMMON_LOG_FORMAT + r'\s+(?P.+)' ) ``` then in FORMATS added the new one: ```python FORMATS =...
> @sandrocantagallo Hi! > > Have you tried this key "--enable-bots"? > > https://matomo.org/faq/general/import-additional-data-including-bots-static-files-and-http-errors-tracking/ I want to exclude BOT from Matomo stats. With this flag the bot will ne included...