Skip to content

Reads web log (incl. Common Log Format) files and converts to python data structures

Notifications You must be signed in to change notification settings

woprd/logreader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logreader

Ever wanted a tool that converts various web log files into something useful (e.g. pandas dataframes) for ease of analyses? Me too.

Ever expanding list of log formats is:

Installation

pip install . 

Usage

Common Log Format files to a pandas dataframe:

from logreader import CLFReader
clfr = CLFReader(<path to logs file>)
# python data structures
clfr.logs
# pandas dataframe
clfr.df

Also see the file logreader/__main__.py

And run that with

python -m clfreader

TODO

See issues.

About

Reads web log (incl. Common Log Format) files and converts to python data structures

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages