Re: Analyzing single web page

"Stephen Turner" <[email protected]>
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
2008/7/17 Mailinglists <[email protected]>:
> Hello,
>
> I'm trying to figure out the command line that would give me request counts for a single specific web page within a specific time period. My logs are standard Apache 2.0.x logs and I'm using Analog 6.0 in a Linux environment. I tried searching the docs for a way to request stats on a specific page only, but didn't find anything. I suspect it's in there somewhere, but I may have missed it.
>
> A little context...
>
> My goal is to automate a process that will e-mail me weekly the request counts of each web page stored in a specific directory on the web server. Then a final report at the end of the month. I do not need fancy HTML reports or graphics or anything. Just request counts. I need to track banner ad campaigns and I'm putting all the landing pages that the banner ads link to into a directory called "banners" and then I'd like to get request counts on each of the pages in that directory on a weekly and monthly basis. My first step is to get a properly formatted command line statement. I'll probably write the whole thing using a bash shell script or something simple that can be started by a cron.
>
> Since I'll always be asking analog to analyze the last week or the last month I'm wondering if there is a time argument already setup for something like that? Instead of having to work out the date ranges if I could just request "LASTWEEK" or "LASTMONTH" that would be great. I seem to remember something like this available in Analog, but I may be mistaken. It's been a long time since I've worked with all the Analog options.
>
> Any help would be appreciated. Thank you so much.
>

Yes. You can either look at just one page with
  FILEINCLUDE /my/page.html
Or look at last week with
  FROM -00-00-01
  TO -00-00-07

-- 
Stephen Turner
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.