<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Awstats on webman.at</title>
    <link>https://webman.at/tags/awstats/</link>
    <description>Recent content in Awstats on webman.at</description>
    <generator>Hugo</generator>
    <language>de-DE</language>
    <managingEditor>bernd@webman.at (Bernd Öggl)</managingEditor>
    <webMaster>bernd@webman.at (Bernd Öggl)</webMaster>
    <lastBuildDate>Fri, 22 Jun 2012 13:30:48 +0000</lastBuildDate>
    <atom:link href="https://webman.at/tags/awstats/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Alte Logfiles in Awstats einspielen (Ubuntu)</title>
      <link>https://webman.at/2012/06/awstats-unter-ubuntu-alte-apache-logfiles-einspielen/</link>
      <pubDate>Fri, 22 Jun 2012 13:30:48 +0000</pubDate><author>bernd@webman.at (Bernd Öggl)</author>
      <guid>https://webman.at/2012/06/awstats-unter-ubuntu-alte-apache-logfiles-einspielen/</guid>
      <description>&lt;p&gt;Ubuntu legt die Apache Logfiles als gzippte Dateien in &lt;code&gt;/var/log/apache2&lt;/code&gt; ab. Um von alten Logdateien nachträglich eine Statistik zu erstellen kann folgendes Kommando nützlich sein:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;for&lt;/span&gt; i in &lt;span class=&#34;sb&#34;&gt;`&lt;/span&gt;ls -tr /var/log/apache2/ssl_meinhost.com*access*gz&lt;span class=&#34;sb&#34;&gt;`&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;do&lt;/span&gt;  &#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;  gunzip -c &lt;span class=&#34;nv&#34;&gt;$i&lt;/span&gt; &lt;span class=&#34;p&#34;&gt;&amp;amp;&lt;/span&gt;gt&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; /tmp/ssl_log.txt&lt;span class=&#34;p&#34;&gt;;&lt;/span&gt; /usr/lib/cgi-bin/awstats.pl&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;    -config&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;ssl.meinhost.com -LogFile&lt;span class=&#34;o&#34;&gt;=&lt;/span&gt;/tmp/ssl_log.txt &lt;span class=&#34;p&#34;&gt;;&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;k&#34;&gt;done&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;ssl_meinhost.com&lt;/code&gt; bzw. &lt;code&gt;ssl.meinhost.com&lt;/code&gt; sind natürlich auf die entsprechenden Logfiles bzw. awstats-Konfiguration anzupassen.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
