title: How can I get awstats to read this log format?
body: <p>I have a site with several subdomains, all subdomains are logged to the same access_log file. Since the file can be so huge, I have a script that greps out each subdomain into its own file.</p>
  
  <p>I have a custom log file format in Apache like so:</p>
  
  <pre><code>"\"%{Host}i\" %h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-agent}i\""
  </code></pre>
  
  <p>A line from my log file looks like this:</p>
  
  <pre><code>"brand.mysite.com" 176.32.1.18 - - [24/Oct/2010:11:24:45 -0400] "GET /Product/lookup HTTP/1.1" 200 5585 "http://www.customerhomepage.com/brand_name.htm" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 1.1.4322)"
  </code></pre>
  
  <p>10 items in the log format, 10 items in the log. Check.</p>
  
  <p>I'm trying to analyze these with awstats with the following Logformat in my awstats config file:</p>
  
  <p>LogFormat="\"%host_r\" %host %logname %logname %time1 %methodurl %code %bytesd %refererquot %uaquot"</p>
  
  <p>The only output I get from awstats is from the Monthly History section. Everything else is either blank or zero.</p>
  
  <p>My generation script looks like this:</p>
  
  <pre><code>rm stats/*.txt
  cat access_log | grep brand &gt; brand_access_log
  perl tools/awstats_updateall.pl -configdir=wwwroot/cgi-bin -awstatsprog=wwwroot/cgi-bin/awstats.pl now
  perl tools/awstats_buildstaticpages.pl -dir=stats -output=pagetype -config=brand -awstatsprog=wwwroot/cgi-bin/awstats.pl
  </code></pre>
  
  <p>What am I doing wrong?</p>