Skip to content
A simple parser for snippets-stats log information
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
__init__.py
config.py
get_snippets_logs.py
setup.py
snippets.py
test_line_parser.py
test_request_parser.py
test_ua_parser.py

README.md

snippets-stats

A few scripts to ETL the snippets-stats logs

snippets.py

Processes the files in a local dir ("snippets_dir" in the config.py file) and uploads results to Vertica.

Helpers

get_snippets_logs.py

Syncs up a local directory ("snippets_dir" in the config.py file) with the S3 source ("s3_snippets_bucket" and "s3_snippets_path" in config.py).

get_geoip_db.py

Downloads and installs the latest GeoIP database. Just as soon as I write it.

You can’t perform that action at this time.