Convert W3C (IIS) logs to combined (Apache) format

I needed to import both IIS logs and Apache logs into AWStats. I could not get it to work (cannot remember why). But I ended up creating a zcat that detects and converts W3C logs into combined. You throw uncompressed or compressed log files of either combined or w3c format at it and it spits out combined.

Written in C and depends only on zlib.

Get it at GitHub

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s