Fedora Linux Support Community & Resources Center
  #1  
Old 29th November 2007, 04:25 PM
locodude Offline
Registered User
 
Join Date: Oct 2006
Location: Malmo, Sweden
Age: 39
Posts: 45
Convert Apache-logs to IIS-logs

I'm moving a website that's been running on an Apache webserver to a machine running an IIS webserver (please don't get on my case here, it's not my decision...).
The owners of the website have been using Awstats for their statistical needs and wish to keep doing so on the new server. Fine, Awstats runs on Windows too, but there's a twist.
They also want to keep all of the old stats that have been logged on the Apache webserver, and this is where my problems begin.

So I'm wondering, is there a tool out there that converts Apache-logs to IIS-logs? Because maybe then I could just run that tool on the old logfiles and then infuse them into the correct directory on the Windows-server.

Anybody know of such a tool, or should I just start hacking immediately?
Reply With Quote
  #2  
Old 29th November 2007, 05:07 PM
pete_1967 Online
Clueless in a Cuckooland
 
Join Date: Mar 2006
Location: Here now, elsewhere tomorrow.
Posts: 4,329
Check the available plugins for AWStats first (and since I'm a nice guy I save you the terrible trouble of typing the search query yourself: http://awstats.sourceforge.net/docs/...s_contrib.html)
Reply With Quote
  #3  
Old 29th November 2007, 05:46 PM
djberriman Offline
Registered User
 
Join Date: Sep 2006
Posts: 15
Can't you just copy the awstats database from the old server to the new server? I'd guess that the database format is no different so all your old data should just move straight over.
Reply With Quote
  #4  
Old 29th November 2007, 05:55 PM
HaydnH Offline
Registered User
 
Join Date: Feb 2005
Location: London, UK
Posts: 333
Aren't they just flat files - probably not know M$? If they were you could just use sed/awk to convert the format
Reply With Quote
Reply

Tags
apachelogs, convert, iislogs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache File Transfer Logs Jamwa Programming & Packaging 1 18th September 2009 10:38 AM
apache access logs jms318 Servers & Networking 4 5th July 2007 01:41 PM
apache logs JB05 Security and Privacy 3 9th May 2005 06:12 AM
Help with apache logs hdcleaver Servers & Networking 6 1st May 2005 09:22 PM


Current GMT-time: 16:02 (Saturday, 25-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Aquiraz - Belarus Travel Photos - Banja Luka Travel Photos