Mailing List Archive

Analyzing single web page
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.

+------------------------------------------------------------------------
| 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
+------------------------------------------------------------------------
Re: Analyzing single web page [ In reply to ]
2008/7/17 Mailinglists <mailinglists@wso.net>:
> 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
+------------------------------------------------------------------------
Re: Analyzing single web page [ In reply to ]
Thanks for the info Stephen.

So, that gets me the ability to get an analysis of a single page in my date range. Good first step. But I need to narrow the output report down to just the request report.

So, to narrow the output to just a single output line that would show the number of requests and the pagename for a specific page for the last week, I'd need a set of commands something like this?

DESCRIPTIONS OFF
GOTOS OFF
RUNTIME OFF
LASTSEVEN OFF

ALL OFF
REQUEST ON

FILEINCLUDE /my/page.html

FROM -00-00-01
TO -00-00-07

Does this make sense? Thanks again! :)


At 02:18 PM 7/17/2008, you wrote:
>2008/7/17 Mailinglists <mailinglists@wso.net>:
>> 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
>+------------------------------------------------------------------------

+------------------------------------------------------------------------
| 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
+------------------------------------------------------------------------
Re: Analyzing single web page [ In reply to ]
2008/7/17 Mailinglists <mailinglists@wso.net>:
> Thanks for the info Stephen.
>
> So, that gets me the ability to get an analysis of a single page in my date range. Good first step. But I need to narrow the output report down to just the request report.
>
> So, to narrow the output to just a single output line that would show the number of requests and the pagename for a specific page for the last week, I'd need a set of commands something like this?
>
> DESCRIPTIONS OFF
> GOTOS OFF
> RUNTIME OFF
> LASTSEVEN OFF
>
> ALL OFF
> REQUEST ON
>
> FILEINCLUDE /my/page.html
>
> FROM -00-00-01
> TO -00-00-07
>
> Does this make sense? Thanks again! :)
>

Yes, except that if you use the HTML or XHTML output style, you will
still have some header and footer stuff. If you want just one line
that can be read by another program, you probably want to use OUTPUT
PLAIN and grep for the one line you need.

--
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
+------------------------------------------------------------------------
Re: Analyzing single web page [ In reply to ]
Got it, thank you again. :)



At 05:56 AM 7/18/2008, you wrote:
>2008/7/17 Mailinglists <mailinglists@wso.net>:
>> Thanks for the info Stephen.
>>
>> So, that gets me the ability to get an analysis of a single page in my date range. Good first step. But I need to narrow the output report down to just the request report.
>>
>> So, to narrow the output to just a single output line that would show the number of requests and the pagename for a specific page for the last week, I'd need a set of commands something like this?
>>
>> DESCRIPTIONS OFF
>> GOTOS OFF
>> RUNTIME OFF
>> LASTSEVEN OFF
>>
>> ALL OFF
>> REQUEST ON
>>
>> FILEINCLUDE /my/page.html
>>
>> FROM -00-00-01
>> TO -00-00-07
>>
>> Does this make sense? Thanks again! :)
>>
>
>Yes, except that if you use the HTML or XHTML output style, you will
>still have some header and footer stuff. If you want just one line
>that can be read by another program, you probably want to use OUTPUT
>PLAIN and grep for the one line you need.
>
>--
>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
>+------------------------------------------------------------------------

+------------------------------------------------------------------------
| 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
+------------------------------------------------------------------------