... ...

Apache & NGINX log files consolidated into a fully Normalized Database

Proper Python & NGINX formats released with Factory Method implementation

Python handles File Processing & MySQL or MariaDB handles Data Processing

httpLogs2MySQL consists of two Python Modules & one Database Schema to automate importing Access & Error files and normalizing data into database designed for reports & data analysis.

Quickly convert a folder of HTTP log files into a normalized database. Process unlimited files, from multiple domains, from multiple servers with complete Data Lineage. Small codebase & simple setup.

Runs on Windows, Linux and MacOS. Database runs on MySQL and MariaDB.

multiple LogFormats & ErrorLogFormats can be loaded and multiple Stored Procedures can be processed in a single Python `ProcessLogs function` execution.

IP Geolocation data integration using MaxMind GeoIP2 Python API provides IP country, subdivision, city, system organization, network and coordinates information stored and normalized into 6 Database Schema tables.

User-Agent data integration using User-Agents provides browser, device and operating system information stored and normalized into 11 Database Schema tables.

Database Schema designed to accommodate unlimited Servers & Domains. Step-by-step guide for easy installation.

Screenshots of Process Messages and Benchmarks for MariaDB version 11.8 and MySQL version 9.2.

...

HTTP Log Management and Visualization

Express handles Data Querying & ECharts handles Data Visualization of MySQL or MariaDB Schema

MySQL2ApacheECharts consists of Express web application frameworks with Drill Down Capability & Apache ECharts frameworks for Log Data Visualization in charts, reports & data analysis interfaces of Database Schema created by httpLogs2MySQL

Application is in development with initial release scheduled for May.

Entity Relationship Diagram of Database Schema tables

Database Schema currently has 55 Tables, 1040 Columns, 190 Indexes, 85 Views, 12 Stored Procedures and 90 Functions to process 6 Access log formats & 3 Error log formats. Database normalization at work!

...

Benchmark Execution Times & Process Messages for HTTP logs - multiple LogFormats, ErrorLogFormats and Stored Procedures processed

MariaDB version 11.8

MySQL version 9.2

Benchmarks executed on Windows 11 | 13th Gen Intel(R) Core(TM) i7-13700T 1.40 GHz | 96GB DDR5-5600 SODIMM | WD_BLACK 1TB SN850X NVMe SSD - Up to 7,300 MB/s