Skip to content

remram44/apache-log-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

apache-log-info

This is a really simple script that reads download data from an Apache2 log file and insert it into a SQLite3 database.

Currently, you'll need to create the database in advance. You can add other fields to be filled in later (as long as they are nullable) but you need at least the timestamp, ip, what, and status columns. For example:

sqlite3 /var/log/file_downloads.sqlite3 'CREATE TABLE gets(timestamp timestamp, ip text, what text, status integer);'

About

Reads an Apache2 log and put download info into a SQlite3 database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages