macworks
Christopher Raymond
I'm looking to send a "batch" of access_log files to webalizer with a single command to have it process them all.
My access_log names are numbered for each day of the month and look something like this:
access_log.1.gz
access_log.2.gz
access_log.3.gz
...
access_log.30.gz
I'm able to get webalizer to process them one at a time, but I'm wonder if I can make my command "batch" through them all based on a pattern.
Here's what I've been trying to do:
./webalizer -c my.conf /var/log/httpd/access_log.*.gz
However it will only match the first file in the directory (access_log.10.gz) and parse that. Then it stops.
Can anyone help me out here?
My access_log names are numbered for each day of the month and look something like this:
access_log.1.gz
access_log.2.gz
access_log.3.gz
...
access_log.30.gz
I'm able to get webalizer to process them one at a time, but I'm wonder if I can make my command "batch" through them all based on a pattern.
Here's what I've been trying to do:
./webalizer -c my.conf /var/log/httpd/access_log.*.gz
However it will only match the first file in the directory (access_log.10.gz) and parse that. Then it stops.
Can anyone help me out here?