Loading ...
Sorry, an error occurred while loading the content.
 

Re: [webalizer] Any way to edit webalizer.current to go back a few days?

Expand Messages
  • Bradford L. Barrett
    ... No. ... Yes. ... If they are named correctly, you can run the whole batch with something like the following: for i in ; do webalizer $i; done
    Message 1 of 5 , Apr 26, 2006
      > Is there a way to delete a few days' of data from the
      > Webalizer.current file so i can re-run all the logs from that day
      > till today?

      No.

      > or do i have to just delete the file and run the whole month?

      Yes.

      > Also, if i have to run the whole month, what is the easiest way to do
      > that? i have 2 files per day (i rotate at midnight and noon) so they
      > are in chronological order, but i wasn't sure if i can tell Webalizer
      > to read them all like that or not.

      If they are named correctly, you can run the whole batch with something
      like the following:

      for i in <match_string>; do webalizer $i; done

      Replace <match_string> with whatever matches the log files you wish
      to process.

      --
      Bradford L. Barrett brad@...
      A free electron in a sea of neutrons DoD#1750 KD4NAW

      The only thing Micro$oft has done for society, is make people
      believe that computers are inherently unreliable.
    Your message has been successfully submitted and would be delivered to recipients shortly.