Help for this page

Select Code to Download


  1. or download this
    LogFormat "bytes|%b|filename|%f|remotehost|%h|remoteip|%a|remoteuser|%l|serverport|%p|pid|%P|request|%r|status|%s|time|%t|timeserve|%T|authuser|%u|url|%U|virtual|%v" log_perl
  2. or download this
    while (<LOGFILE>) {
      my %hash=split /\|/,$_;
      ## do something with %hash ala $hash{time} or $hash{bytes}
    }