AWStats

Discussion in 'Traffic Analysis' started by star2323, Dec 19, 2005.

  1. #1
    Can AWStats be installed on any webhost?

    My host currently has Webalizer and Modlogan for stats and I like AWStats better. Is there a way to install AWStats on the host?

    Thanks
     
    star2323, Dec 19, 2005 IP
  2. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ask the host. it usually comes with cPanel. dunno, you might have to buy a license for it
     
    Dekker, Dec 19, 2005 IP
  3. Cybernaut

    Cybernaut Peon

    Messages:
    408
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It may be possible only if the web host allows access to raw log files and perl is installed on the server.
     
    Cybernaut, Dec 19, 2005 IP
  4. whispering-death

    whispering-death Guest

    Messages:
    105
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I like AWStats more than Webalizer as well.

    AWStats is free, you can download and install from this site

    I think your host will be able to install it for you, better email them and ask them.
     
    whispering-death, Dec 19, 2005 IP
  5. star2323

    star2323 Peon

    Messages:
    445
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I just emailed my host and they said

    "You can install AWStats logfile analyzer on your domains."

    So it sounds like I can use AWStats. Can anybody explain how I set it up?

    I downloaded the file but it is an .exe which I know I can't install.
     
    star2323, Dec 19, 2005 IP
  6. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #6
    hmmmmm, you might want to ask them for instructions...most hosts do have AWStats, frankly I'm suprised yours doesn't
     
    Dekker, Dec 23, 2005 IP
  7. cpucandy

    cpucandy Peon

    Messages:
    489
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #7
    You will need to ask your hosting provider for the location of your raw log files. In addition to this, you should have a cron job setup to automatically parse the log files for you.

    Basically, you just install the awstats into a sub directory, password protect it so your stats aren't visible to the public. Set up the cron job to parse the log files, or set it to automatically update each time you run the program. Create the your-domain.conf file for your domain.

    I have set up awstats before on my home server. Give me a yell if you need some help. The install instructions are pretty straight forward. The biggest problem I had was setting up the correct permissions for file access. Once again, your hosting provider could point you in the right direction.
     
    cpucandy, Dec 23, 2005 IP
  8. star2323

    star2323 Peon

    Messages:
    445
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Hey thanks for the reply.

    I have downloaded and got AWStats working on one of my domains. The problem I'm having is I have to manually set the current log file. It looks like each day a new log file is created and the previous days is zipped up. But I can't figure out how to determine the name of the new file. It seems to be pretty random. Sometimes its the date in nano seconds but not always.

    Is there some script I can use to just pull the newest file in the log directory? Or is there a way to use wildcards in the path name for the log?
     
    star2323, Dec 23, 2005 IP
  9. cpucandy

    cpucandy Peon

    Messages:
    489
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You can specify a wild card in your log file. Example - LogFile=mylog*.log

    Never tried this, but my gut feeling says that the developers accounted for this, so I would even try *.log (if the directory only contains your raw log files)
     
    cpucandy, Dec 23, 2005 IP
  10. star2323

    star2323 Peon

    Messages:
    445
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I tried using the * for wildcards but it did not work. I'll try again once I get home. I'm with family for Christmas.
     
    star2323, Dec 24, 2005 IP