astavale / clf-to-sqlite

Mirror of https://gitlab.com/astavale/clf-to-sqlite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clf-to-sqlite - Load Combined Log Format Web Logs into SQLite

clf-to-sqlite is a command line program to extract entries from Combined Log Format website access logs and load the parsed lines into an SQLite database. Combined log format is the default format for Apache and NGINX access logs.

The program is written in Genie for performance. The program will typically extract, parse and load 300,000 log entries into an SQLite database in ~7 seconds on a 2.5GHz CPU and an SSD with sequential write speed of ~250MB/s. The program runs in a single thread.

The SQLite database can be used to run analysis queries against the web access data. More details on the program and the database schema are in the notes.

About

Mirror of https://gitlab.com/astavale/clf-to-sqlite

License:GNU General Public License v3.0


Languages

Language:Genie 76.9%Language:Shell 15.5%Language:Meson 7.6%