Skip to content

Instantly share code, notes, and snippets.

View pacoqueen's full-sized avatar

Francisco José Rodríguez Bogado pacoqueen

View GitHub Profile
@pacoqueen
pacoqueen / la_fisgona.py
Created January 27, 2016 11:56
Script for Squid log "live" parsing.
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Hecho para funcionar con tail -f /var/log/squid/access.log | ./la_fisgona.py
"""
import sys, os, datetime
class bcolors: