Gather and process usage statistics for map tiles hosted by web servers nginx and Apache
gather.py [-h] [-o FILE] [-c NAME] source
source
— log file to process
-h
,--help
— show help message and exit-o
FILE,--output
FILE — output raw data to file, format are choosing by extension (csv, xls, xlsx, htm, html, json)-c
NAME,--column
NAME — process desired column (possible names arestyle
andzoom
)
- Python 3
- matplotlib, pandas — required,
- openpyxl or xlwt — optional for Excel output.
pip install -r requirements.txt
Alexander Sapozhnikov shoorick@cpan.org http://shoorick.ru/