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

Advertisements

Leave a Reply

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

WordPress.com Logo

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

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s