This describes a Python workflow script for preparing log files for analysis. It works with any log format (you need to provide a regex), and compresses files to the extremely efficient parquet format. https://advertools.readthedocs.io/en/master/advertools.logs.html