[ Top | Up | Prev | Next | Map | Index ]

Readme for analog3.11

Frequently asked questions

Note that sometimes two or three questions have the same answer!
  1. When I try and compile analog, it gives me an error.
  2. Analog just runs for a moment and then quits.
  3. Analog didn't write the logfile when I ran it.
    See the section entitled Starting to use analog.
  4. Is analog Year 2000 compatible?
    Yes (and so are all previous versions). It works properly for dates between 1970 & 2069 inclusive.
  5. My stats have stopped updating.
  6. My stats have reset to zero.
    If your ISP runs analog for you, you'll have to ask them.
  7. How do I find out the number of hits from your data?
    I don't use the word hits, because people use it in different ways, so it's misleading. I use requests for the number of transfers of any type of file (text, graphics, ...), and page requests for the number of transfers of HTML pages. See the section on Analog's definitions for more information.
  8. Why doesn't the Daily Report only show the last six weeks?
    This is controlled by the FULLDAYROWS command.
  9. How do I get information on just my pages, not everybody's?
  10. How do I ignore accesses from my site?
    Use the FILEINCLUDE command or HOSTEXCLUDE command respectively.
  11. How do I get the Request Report to list files with fewer than 20 requests?
    Use the REQFLOOR command.
  12. I want to make several different statistics pages. Do I have to install several copies of analog?
    No. Just install it once, and run it with different configuration files.
  13. Can I get data on individual visitors, or visits, to my site?
    No, it's not technically possible, and don't believe any program which tells you it is. See the section on How the web works for details.
  14. I want to see the total number of hits from my organisation in the Host Report.
    You can see this in the Domain Report if you use the SUBDOMAIN command.
  15. Do I have to save all my old logfiles?
    This is answered in the section about Cache files.
  16. What does this error (or warning) mean?
    See the section on Errors and warnings.
  17. Why doesn't analog agree with the counter on my page?
    There are lots of possible reasons. Do they both start from the same date? Are you just looking at requests for that one page with analog, not for all your other pages and graphics? Also, analog will record all requests to that page; if it's a graphic, your counter will only measure requests from people on graphical browsers that reached that place on the page.
  18. How can I do such-and-such with a command line option?
    Use the +C option to put any configuration command on the command line.
  19. I want a list of all command line arguments.
    There is a list in the index.
  20. Why does the form interface give "Document Returned no Data"?
    If it doesn't happen for a while, then probably the server is giving up before the analog process has finished running. Increase the timeout interval on the server.
  21. The images don't appear when running analog from the form interface.
    You probably need to change the IMAGEDIR. If the images are in your /cgi-bin/ directory, the server will try to execute them instead of just sending them out.
  22. Can I find out the number of hosts that have accessed each file?
  23. Can I find out the number of hosts visiting on each day?
    No; it would require storing too much data (all host/file pairs, or all host/day pairs). If there's a particular file you're interested in, use FILEINCLUDE to restrict the analysis to only that file. If there's a particular day you're interested in, use FROM and TO to restrict the analysis to only that day.
  24. How can I run analog automatically every day?
    This depends on your particular machine. On Unix, you need to run analog as a cron job (see "man cron"). This is my cron command:
    20 1 * * * $HOME/misc/analog
    On Windows NT you can do the same with the at command, but only an administrator can run at. On Windows 98, it should be possible with the Task Scheduler, although I haven't tried it. On Windows 95 it's not possible as far as I know.
    On Mac, there are programs called Cron or CronoTask to do this.
  25. How can I specify different logfiles from the form interface?
    Just add a new field to the form with name=lo
  26. Why are directories listed in the request report?
    They are not directories, they are pages with the same name as the directory. For example, I have a directory called /analog/ and a page called /analog/ (which is the same as /analog/index.html).
  27. Why don't you just use one image, and scale it with the WIDTH and HEIGHT attributes?
  28. Can I change the background colour of my output?
  29. Why not use HTML tables?
    These things don't work in HTML 2.0, which is the sort of HTML analog writes.
  30. Well then, why not use HTML 4.0?
    Unfortunately my bar charts don't work in HTML 4.0. Also, not all browsers can cope with some features of HTML 4.0, such as tables. HTML 2.0 works on all browsers.
  31. There is a CTRL-Z character in my logfile, and analog stops reading there.
    Analog is behaving correctly. Under Windows, CTRL-Z (ASCII 26) signifies end-of-file in a text file.
  32. Why do I only get "unresolved numerical addresses" in the domain report?
    Your server only records the numerical IP address of the hosts that contact you, not their names. Read the section about DNS lookups.
  33. Couldn't you do the DNS lookups faster with threads?
    The problem is, the standard commands for DNS lookups are not thread-safe on most Unices.
  34. How about an operating system report?
    Unfortunately, this is not possible. Many browsers record their operating system in your browser log, but not all do, and those that do don't always record it in a consistent format.
  35. How do I make a link on my page that runs analog?
    Link to the anlgform program, with the desired options. But be careful about the load on your server.
  36. My server lists local names in the logfile. Can you put a common suffix on them automatically?
    This wouldn't be a good idea, because things like "unknown" would get the suffix. You can always add them using HOSTALIAS.
  37. Can you extrapolate from the current month's partial data to produce a prediction for the whole month, based on the rate so far?
    No. There are too many problems in trying to produce anything sensible, especially near the beginning of the month. Different days of the week and different times of day cause lots of problems. I would prefer to produce raw accurate data than suspect derived data.
  38. Can you extend the Domain Report to say which US states people visited from?
    No. Some programs pretend to do this, but you can only tell which state the computer they're using is in, which may be quite different from where the user is for ISP's or other large organisations.
  39. Can I make multiple reports with one pass through the logfile?
    Not at the moment. I want to do this in a future version, but it will require some considerable work.
  40. I ran out of memory when trying to run analog. What can I do?
    See the section on Coping with low memory.
  41. You're processing 10,000,000 requests in under 10 minutes. Why is mine much slower?
  42. Analog appears to stall.
    If you have DNS lookups on, they are very slow. Otherwise, it probably depends on the speed of your computer and disks, and what other programs are running at the same time. You can use the PROGRESSFREQ command to see if it's really stalled or whether it's just being slow.
  43. I host lots of virtual domains. How should I set up analog?
    In my opinion, if you haven't got many virtual domains, the best thing is to log each one to a different logfile and analyse them independently. If you log them all to the same logfile, then make sure to log the virtual host name on each line, and use analog's VHOSTINCLUDE command to pick out the lines you want.
  44. I tried to run analog from my browser, but it didn't work.
    You can't run analog itself directly from a browser. You need to use the CGI program which outputs the correct HTTP headers.
  45. Why not use language codes instead of county codes for the names of the language files?
    People are more familiar with the country codes. And not all of my languages have language codes anyway.
  46. Why don't you sell analog?
    I didn't write analog for the money, and I'm happy just to see people use it. I haven't got time to support it commercially, and I can't use my academic account for commercial purposes. Also, by making it freeware, lots of people send me ideas and code to include in future versions. (Of course, if you want to send me money, or gifts in kind, or even just postcards...).

If your question is not answered here or in the rest of the Readme, and you think it should be, see the next section for how to contact me.
Stephen Turner
E-mail: analog-author@lists.isite.net

[ Top | Up | Prev | Next | Map | Index ]