does AWStats allow real time updates?

2008-02-19
2013-03-04
  • Eric Franklin
    Eric Franklin
    2008-02-19

    New member here. I have looked over some previous posts, but not all.
    I didn't see an answer to my question, so I thought I would join and ask.

    Does AWStats allow real time updates?

    I recently installed (from the applications list on my WestHost.com server)
    AWstats(Advanced Web Statistics 6.6 (build 1.887).
    I like the tool, and was a Webalizer user previously (also offered on my host)

    One thing I haven't been able to determine is whether AWstats updates real time
    or every 24 hours. It appears to be 24 hours, by virtue of the time and date listed
    at the top of the stats page, i.e. "Last Update: 19 Feb 2008 - 00:40"

    I can't find any obvious ways to change the settings of this tool,
    to make it update real time (do a refresh and the stats update to current).

    Is there any way to change this or not?
    thanks for your indulgence to a new member/user of Awstats

    Eric

     
    • Eric Franklin
      Eric Franklin
      2008-02-19

      Jean-Luc,

      It worked!
      The "Update now" link appeared and I clicked it and
      it worked!
      Thank you very much.

      Eric Franklin

       
    • Jean-Luc
      Jean-Luc
      2008-02-19

      Hi Eric,

      Assuming you are working with the CGI reports (URL with "awstats.pl") and assuming you have access to your AWStats config file, you can use:

      AllowToUpdateStatsFromBrowser=1

      in your AWStats config file. You will then get an "Update now" button at the top of your reports.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • Eric Franklin
      Eric Franklin
      2008-02-19

      Jean-Luc
      Thank you for the quick reply and information.

      I found the awstats folder on the server, that contained
      the "awstats_configure.pl" in the Tools subfolder.
      I have never edited a perl file; which I believe is what needs to be updated.
      Would this be the correct file to do the editing you suggest?

      If I'm in the wrong spot, please let me know.
      I am grateful to you for your help with this.

      I am the web master for Alliance@IBM's web site (www.allianceibm.org)
      and these stats are VERY important to us real time.

      Thank you very much

      Eric

       
    • Jean-Luc
      Jean-Luc
      2008-02-19

      The file that needs to be edited is called awstats.your_domain.conf where "your_domain" is a name choosen at installation time. This file is often in the same directory as awstats.pl.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • Eric Franklin
      Eric Franklin
      2008-02-19

      Jean-Luc

      Thank you. unfortunately, I can't find that file.

      I've looked through most of the server folders/dirs.
      the only place I've found awstats is in the /usr/local/awstats fodler
      That folder includes sub folders '/docs' or '/tools' or '/wwwroot'and
      none of which hold the folder you refer to; which in my case
      should be awstats.endicottalliance.conf (the domain is endicottalliance.org), I believe.

      I did find the awstats.pl file in /usr/local/awstats/wwwroot/cgi-bin folder.
      But not the awstats.endicottalliance.conf

      Any suggestions?

      Eric

       
    • Slick Willy
      Slick Willy
      2008-02-19

      By default, awstats puts the .conf in the same directory as awstats.pl, that is, unually, awstats/wwwroot/cgi-bin. Do you see an awstats.model.conf ?

      What is the url you use to access the stats? Is it

      endicottalliance.org/awstats/awstats.pl

      or

      endicottalliance.org/awstats/awstats.pl?config=<something else>

      If the former, your .conf is called either awstats.endicottalliance.org.conf or just plain old awstats.conf. If the latter, your .conf is called awstats.<something else>.conf. If neither, try

      find . -name "*.conf"

      from /usr/local/awstats to display all the files ending in .conf in that directory tree.

       
    • Jean-Luc
      Jean-Luc
      2008-02-19

      Try a command like "find" to search for the .conf file.

      Alternately you can try to run http://.../awstats.pl?config=dummy . In some systems, you will get an error message that includes the list of directories where awstats.pl tried to find awstats.dummy.conf. Your valid config file will be in one of these directories.

      If you are on a hosting plan, the support people of your host should know where the file is located.

      Jean-Luc
      http://www.internetofficer.com/awstats/

       
    • Eric Franklin
      Eric Franklin
      2008-02-19

      Jean-Luc,

      I found it!

      Wow... not where I expected..
      The awstats.conf file was in the /etc/awstats

      I used telnet to search the server.

      Now all I need do is edit what you told me to, and we're cool... right?

      Thank you very much for your help.

      Eric