<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
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/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; log file analysis</title> <atom:link href="http://www.ghacks.net/tag/log-file-analysis/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 08:24:54 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Apache Web Log Analyzer</title><link>http://www.ghacks.net/2009/09/07/apache-web-log-analyzer/</link> <comments>http://www.ghacks.net/2009/09/07/apache-web-log-analyzer/#comments</comments> <pubDate>Mon, 07 Sep 2009 14:33:08 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Software]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[apache log analysis]]></category> <category><![CDATA[apache log analyzer]]></category> <category><![CDATA[apache log file analysis]]></category> <category><![CDATA[apache log file analyzer]]></category> <category><![CDATA[apache web log analyzer]]></category> <category><![CDATA[log file analysis]]></category> <category><![CDATA[windows software]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=16091</guid> <description><![CDATA[Webmasters have a few log file analysis options. Many web hosting companies provide pre-installed scripts like Webalizer that automatically perform an Apache log file analysis and display the results in a web browser. There are also several external online services that can be added to the websites directly to display an analysis that is comparable [...]]]></description> <content:encoded><![CDATA[<p><img
src="http://www.ghacks.net/wp-content/uploads/2009/09/apache_web_log_analyzer.jpg" alt="apache web log analyzer" title="apache web log analyzer" width="172" height="197" class="alignleft size-full wp-image-16092" />Webmasters have a few log file analysis options. Many web hosting companies provide pre-installed scripts like Webalizer that automatically perform an Apache log file analysis and display the results in a web browser. There are also several external online services that can be added to the websites directly to display an analysis that is comparable to those Apache log analyzers.</p><p>Another option for some webmasters are software programs that can load and process Apache log files. One of these programs is Apache Log Viewer, a free Apache log file analyzer for the Windows operating system. The webmaster needs to load the Apache log file (either access or error log) in uncompressed format into the Apache log analyzer. The program will then automatically process the log file and display it in a more readable format.</p><p><span
id="more-16091"></span><img
src="http://www.ghacks.net/wp-content/uploads/2009/09/apache_log_analyzer-500x331.jpg" alt="apache log analyzer" title="apache log analyzer" width="500" height="331" class="alignnone size-medium wp-image-16093" /></p><p>The log file analysis software will process the log file and display data like IP addresses, dates of access, request, the Apache status code, size and country in the Apache log file analyzer.</p><p>A right-click will open a menu to copy information, find similar entries in the Apache log file or open the referrer in a web browser.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/09/apache_log_file_analyzer-500x249.jpg" alt="apache log file analyzer" title="apache log file analyzer" width="500" height="249" class="alignnone size-medium wp-image-16094" /></p><p>It is furthermore possible to create reports like viewing the visits by country, hits or visits. Some reports are disabled and will be unlocked after making a donation.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/09/apache_web_log_analyzer1-500x422.jpg" alt="apache web log analyzer" title="apache web log analyzer" width="500" height="422" class="alignnone size-medium wp-image-16095" /></p><p>Another interesting option is the ability to filter by status message or IP address.</p><p><img
src="http://www.ghacks.net/wp-content/uploads/2009/09/apache_log_analysis.jpg" alt="apache log analysis" title="apache log analysis" width="476" height="215" class="alignnone size-full wp-image-16096" /></p><p>Apache Log Viewer provides enough information that provide a quick overview after performing an Apache log file analysis. The Apache log analyzer can be <a
href="http://www.apacheviewer.com/">downloaded</a> from the developer&#8217;s website.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/09/07/apache-web-log-analyzer/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>How To Deal With Huge Apache Web Server Log Files</title><link>http://www.ghacks.net/2008/10/01/how-to-deal-with-huge-apache-web-server-log-files/</link> <comments>http://www.ghacks.net/2008/10/01/how-to-deal-with-huge-apache-web-server-log-files/#comments</comments> <pubDate>Wed, 01 Oct 2008 07:37:08 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[apache log analysis]]></category> <category><![CDATA[apache log files]]></category> <category><![CDATA[apache server]]></category> <category><![CDATA[apache web server]]></category> <category><![CDATA[dedicated server]]></category> <category><![CDATA[log file analysis]]></category> <category><![CDATA[log files]]></category> <category><![CDATA[root server]]></category> <category><![CDATA[web server]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=7325</guid> <description><![CDATA[I must admit that I have not been paying attention to the size of some of the Apache web server log files on my dedicated server. For those that do not know, the Apache logs are the log files of the Apache web server. They log every hit to a website and provide excellent material [...]]]></description> <content:encoded><![CDATA[<p>I must admit that I have not been paying attention to the size of some of the Apache web server log files on my dedicated server. For those that do not know, the Apache logs are the log files of the Apache web server. They log every hit to a website and provide excellent material that can be processed by a log file analysis software.</p><p>This log files can become huge if you have a popular website. The current size of the Ghacks log file is 45 Gigabytes. If it continues growing in that pace the web server will run out of hard disk space pretty soon.</p><p>The first problem was to figure out how to backup the 45 Gigabyte file on the web server since I did not want to loose all the data stored within. The idea was born to compress the Apache web server log file first and then reduce it to a few Kilobytes with the echo command.</p><p><span
id="more-7325"></span>The Apache web server log files are stored in the /var/log/apache2 directory on the Debian dedicated server. The first command to issue would compress the contents of the apache2 directory into multiple tar files if the compressed file reaches a size maximum. This makes it easier to transfer files to another computer.</p><p><code>tar -cz directory | split -d -b 1024m - destination.tgz</code></p><p>Directory is the source directory where the Apache web server log files reside and destination.tgz is the name of the to be created compressed file. It is important to note that you might need to stop the Apache web server for the operation to succeed because the compression utility will stop if files get changed during procession.</p><p>The last thing that is to be done is to clear the original Apache web server log files in the log files directory. This can be done with the following command even if Apache is running.</p><p><code>echo " " > /var/log/apache2/filename.log</code></p><p>This simply overwrites the contents of the file. Please note again that some Linux distributions use another directory structure and that the log files can be located in another directory on the server.<br
/> This takes only a few seconds and the log file will be cleared from all contents afterwards.</p><p>Then it is just a matter of transferring the various compressed archives to another computer.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2008/10/01/how-to-deal-with-huge-apache-web-server-log-files/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> </channel> </rss>
