D. Alvarado ([EMAIL PROTECTED]):
> I was wondering if its possible to do the following using analog. > I want to count the number of times users request 2 consecutive > files. That is, if the 2 files in question were "a.html" and > "b.html" and if IP 16.16.16.16 requested a.html and then requested > b.html (at an arbitrary length of time after, but with no requests > from 16.16.16.16 in between), I would like that to count as 1 > request. I would thus like to count the number of times this > happens for all users. > So, is this possible without rewriting analog? I understand that > this is an ambitious question so there may be no easy answers to > this. Short answer: no. See http://www.analog.cx/docs/webworks.html for reasons why you can't really be certain that two consecutive requests in your log files are really consecutive or that a given user maintains the same IP number between requests. Longer answer: Why would you want to count two requests as one? You realize, you are asking to change the definitions of the data that Analog analyzes. The level of detail that you are considering is really something that's essentially a log file. To do this kind of investigation, I think it would be more efficient to use grep or some other tool to collect all the request from a given host and look at them manually. It's possible that you could code up a script in Perl to perform this kind of logic, preprocessing the files before you have Analog analyze them. -- Jeremy Wadsack Wadsack-Allen Digital Group +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
