Skip to content

Instantly share code, notes, and snippets.

View martinvirtel's full-sized avatar

Martin Virtel martinvirtel

View GitHub Profile
@skitazaki
skitazaki / combined2tsv.py
Last active January 9, 2021 10:36
Convert Combined Log Format into TSV file.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
""" Convert Combined Log Format stream into TSV file.
To get known about access log, see Apache HTTP server official document.
* [`en <http://httpd.apache.org/docs/2.4/en/logs.html>`_]
* [`ja <http://httpd.apache.org/docs/2.4/ja/logs.html>`_]