<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: Convert Apache common logs to combined logs</title>
	<atom:link href="http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/</link>
	<description>programming, web, music and life</description>
	<pubDate>Sun, 14 Mar 2010 16:49:51 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Joel</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-19820</link>
		<dc:creator>Joel</dc:creator>
		<pubDate>Sat, 14 Feb 2009 04:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-19820</guid>
		<description>Thanks for the great post. Did you still have constant traffic coming through while you were playing with the logs? I wonder how you might go about converting the log while traffic continues to flow in?

If I were to change the apache setting to combined logging, then split the file, convert the first part to combined format, I would then have two parts which I could merge, however, all the while the original log file is still being written to.

I am making sense? Any ideas?</description>
		<content:encoded><![CDATA[<p>Thanks for the great post. Did you still have constant traffic coming through while you were playing with the logs? I wonder how you might go about converting the log while traffic continues to flow in?</p>
<p>If I were to change the apache setting to combined logging, then split the file, convert the first part to combined format, I would then have two parts which I could merge, however, all the while the original log file is still being written to.</p>
<p>I am making sense? Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tristan</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-19283</link>
		<dc:creator>Tristan</dc:creator>
		<pubDate>Sat, 29 Dec 2007 18:54:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-19283</guid>
		<description>That's not actually what I meant, I was referring to the Linux/Unix version of the csplit command in which --prefix is used.

Thanks for the Leopard tip, seems like the OSX version of csplit isn't directly compatible with the Linux version. Doesn't mean it's the correct one ;-)</description>
		<content:encoded><![CDATA[<p>That&#8217;s not actually what I meant, I was referring to the Linux/Unix version of the csplit command in which &#8211;prefix is used.</p>
<p>Thanks for the Leopard tip, seems like the OSX version of csplit isn&#8217;t directly compatible with the Linux version. Doesn&#8217;t mean it&#8217;s the correct one <img src='http://www.trisweb.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jack</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-19282</link>
		<dc:creator>jack</dc:creator>
		<pubDate>Fri, 28 Dec 2007 08:31:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-19282</guid>
		<description>Did you mean:

csplit -f access.log access.log 7611828

Your csplit gives an error in in terminal on Leopard.</description>
		<content:encoded><![CDATA[<p>Did you mean:</p>
<p>csplit -f access.log access.log 7611828</p>
<p>Your csplit gives an error in in terminal on Leopard.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BrnDmp &#187; Blog Archive</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-19193</link>
		<dc:creator>BrnDmp &#187; Blog Archive</dc:creator>
		<pubDate>Fri, 09 Nov 2007 10:09:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-19193</guid>
		<description>[...] process logs: awstats.pl -config=www.mysite.com -update (NOTE: logs should be in combined format -&gt; set in httpd.conf. Cool post about converting common to combined log format) [...]</description>
		<content:encoded><![CDATA[<p>[...] process logs: awstats.pl -config=www.mysite.com -update (NOTE: logs should be in combined format -&gt; set in httpd.conf. Cool post about converting common to combined log format) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geo</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-19042</link>
		<dc:creator>Geo</dc:creator>
		<pubDate>Mon, 10 Sep 2007 08:25:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-19042</guid>
		<description>great post ..tank you very much !</description>
		<content:encoded><![CDATA[<p>great post ..tank you very much !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dom</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-17796</link>
		<dc:creator>Dom</dc:creator>
		<pubDate>Wed, 14 Mar 2007 12:57:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-17796</guid>
		<description>Oh, thank goodness you wrote this. Super fantastically useful. Exactly what I was looking for.

I had to sort my merged log first, because everything was out of order (happened when I last moved server and took the logs with me, I think). Sorting Apache logs by date is rather nasty.

But once I had that done, this recipe saved my bacon. :-)</description>
		<content:encoded><![CDATA[<p>Oh, thank goodness you wrote this. Super fantastically useful. Exactly what I was looking for.</p>
<p>I had to sort my merged log first, because everything was out of order (happened when I last moved server and took the logs with me, I think). Sorting Apache logs by date is rather nasty.</p>
<p>But once I had that done, this recipe saved my bacon. <img src='http://www.trisweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tristan</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-17370</link>
		<dc:creator>Tristan</dc:creator>
		<pubDate>Tue, 20 Feb 2007 07:20:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-17370</guid>
		<description>Thanks Chris, I've updated the article with your suggestion and fixed other minor errata.

Glad I could help! I couldn't find any other articles about this anywhere, so I made sure to title my post in a Google-friendly manner :-) Seems like it worked!</description>
		<content:encoded><![CDATA[<p>Thanks Chris, I&#8217;ve updated the article with your suggestion and fixed other minor errata.</p>
<p>Glad I could help! I couldn&#8217;t find any other articles about this anywhere, so I made sure to title my post in a Google-friendly manner <img src='http://www.trisweb.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Seems like it worked!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/comment-page-1/#comment-17368</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 20 Feb 2007 03:56:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.trisweb.com/archives/2007/02/15/convert-apache-common-logs-to-combined-logs/#comment-17368</guid>
		<description>I just installed AWStats this evening and had the same dilemma as you, but found your excellent steps after a quick google search.  You might want to mention that (depending on how you have AWStats configured), you may have to delete your existing stats in your DirData directory (probably /var/lib/awstats) and run it again for a full update so it doesn't skip lines it has already processed.  Otherwise, thanks a lot for the help - I'm off to convert all my old logs!</description>
		<content:encoded><![CDATA[<p>I just installed AWStats this evening and had the same dilemma as you, but found your excellent steps after a quick google search.  You might want to mention that (depending on how you have AWStats configured), you may have to delete your existing stats in your DirData directory (probably /var/lib/awstats) and run it again for a full update so it doesn&#8217;t skip lines it has already processed.  Otherwise, thanks a lot for the help - I&#8217;m off to convert all my old logs!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
