Re: [analog-help] How do I Include pages with specific URL parameters?

2009-11-04 Thread Aengus
Troy Simpson  wrote:

> FILEINCLUDE /*?*035E592F-FA2A-267B-5AF64F16D156031F

> REQINCLUDE /*  # This line was important.  But I am not sure why.  The
> Request Report would return 0 request with out this line.

Do you have  REQINCLUDE pages  anywhere in your config file? None of the 
entries captured by your FILEINCLUDE would be recognized as pages by default, 
so they wouldn't show up if you were only including Pages in the Request report.

As I suggested yesterday, adding 
  DIRSUFFIX index.cfm
  PAGEINCLUDE *.cfm
should address this issue, as the .cfm files would be recognized as pages.

> # The following lines are a sample of thelines included via a
> CONFIGFILE directive (232 lines in all).
> REQALIAS REGEXPI:035E592F-FA2A-267B-5AF64F16D156031F "[Page Title
> Here]"

> I appreciate if someone could help me understand these directives
> better and how analog process them.  I have read the documentation a
> number of time, but I'm still missing some things.

Spend less time reading the documentation, and more time running Analog with 
simple test files, and seeing how changes you make to the configuration change 
the output. It's really the quickest way to understand what's happening - you 
can make a change and run Analog in 10 seconds, rather than waiting a couple of 
hours for an response from the list.

REQALIAS is an "output alias" - it simply changes what is displayed in the 
Request report. The change only occurs in the output, the actual data itself 
isn't modified. That means that if you REQALIAS two different lines to the same 
thing, you still have 2 entries in the Request Report, whereas if you FILEALIAS 
the same lines to the same thing, you only get one line in the Request Report, 
and the number of requests is the combined number of requests for both lines.

Because your website uses "non-human readable" URLs for it's pages, REQALIAS is 
a good idea, because you can modify the actual information displayed in the 
Request report to reflect the real page displayed. so you might have

REQALIAS 035E592F-FA2A-267B-5AF64F16D156031F "Green Widgets"
REQALIAS 03DA02E6-FF9C-FE0B-37856AF28E60357A "Blue Widgets"
REQALIAS 03DA0008-F3ED-1110-1AB00948167C27F2 "Shopping Cart"
REQALIAS 03D9FE43-BCE3-8680-163785D70C2B83FF "Privacy Notice"

(Note that the REGEXPI isn't necessary - you haven't specified a Regular 
expression). Your Request Report would then show the number of requests for 
Blue Widgets, the Shopping Cart, etc, and, if you used the PAGEINCLUDE comamnd 
above, the entries should be clickable (you might need to specify the BASEURL 
too).

Aengus

+
|  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: [analog-help] Order of processing steps...

2009-11-04 Thread Aengus
Troy Simpson  wrote:
> Thanks for all the help so far.
> Where can I find Analog's order of process.
> I'm trying to understand this in order to process URL
> parameters/querystring as I would like.
> 
> As far as I can tell it must go like this:
> 
> 1.  Read line from Log file
> example: 
> http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E6 
> 
> 2.  Process FILEALIAS directives
> example:
> FILEALIAS /*?*72015D13-BDB7-CEBA-FCC75AAEAA3A08E6 /*
> Translates this:
> http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E6
> to this: http://www.mydomain.com/72015D13-BDB7-CEBA-FCC75AAEAA3A08E6
> 
> 3.  Process FILEINCLUDE directives
> example:
> FILEINCLUDE
> http://www.mydomain.com/72015D13-BDB7-CEBA-FCC75AAEAA3A08E6 
> 
> Is that correct?

That's pretty much the order described in http://analog.cx/docs/alias.html 
("After analog has read each logfile entry, it then applies aliases to each of 
the items") and http://analog.cx/docs/include.html ("After aliasing each item, 
analog decides whether that item is wanted or not.")

Aengus

+
|  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: [analog-help] How do I Include pages with specific URL parameters?

2009-11-04 Thread Troy Simpson
Possible Solution:

I don't understand why yet, but this appears to get me closer to what I want.

ALL OFF
ALLCHART OFF
REQUEST ON  # Enable the Request Report
REQCOLS NRr # Enable these three columns in the report

# The following lines is a sample of the lines included via a
CONFIGFILE directive (232 in all).
FILEINCLUDE /*?*035E592F-FA2A-267B-5AF64F16D156031F
FILEINCLUDE /*?*03DA02E6-FF9C-FE0B-37856AF28E60357A
FILEINCLUDE /*?*03DA0008-F3ED-1110-1AB00948167C27F2
FILEINCLUDE /*?*03D9FE43-BCE3-8680-163785D70C2B83FF
FILEINCLUDE /*?*03D9FCBC-9E27-9E66-BD24D89F3463E89F
FILEINCLUDE /*?*03D9FB16-B382-47B9-1A1538C833BA0EAB
FILEINCLUDE /*?*03D9F9AF-A665-0FFE-4429F3C56B4B5AB2
FILEINCLUDE /*?*035E5920-BCA0-D364-936C15CC46CC409A
etc.

REQFLOOR 1r
REQARGSFLOOR 1r
REQINCLUDE /*  # This line was important.  But I am not sure why.  The
Request Report would return 0 request with out this line.

# The following lines are a sample of thelines included via a
CONFIGFILE directive (232 lines in all).
REQALIAS REGEXPI:035E592F-FA2A-267B-5AF64F16D156031F "[Page Title Here]"
REQALIAS REGEXPI:03DA02E6-FF9C-FE0B-37856AF28E60357A "[Page Title Here]"
REQALIAS REGEXPI:03DA0008-F3ED-1110-1AB00948167C27F2 "[Page Title Here]"
REQALIAS REGEXPI:03D9FE43-BCE3-8680-163785D70C2B83FF "[Page Title Here]"
REQALIAS REGEXPI:03D9FCBC-9E27-9E66-BD24D89F3463E89F "[Page Title Here]"
REQALIAS REGEXPI:03D9FB16-B382-47B9-1A1538C833BA0EAB "[Page Title Here]"
REQALIAS REGEXPI:03D9F9AF-A665-0FFE-4429F3C56B4B5AB2 "[Page Title Here]"
REQALIAS REGEXPI:035E5920-BCA0-D364-936C15CC46CC409A "[Page Title Here]"
REQALIAS REGEXPI:03D9D2CE-C4B3-8BEA-6BC7CA151D443B03 "[Page Title Here]"
etc.

I appreciate if someone could help me understand these directives
better and how analog process them.  I have read the documentation a
number of time, but I'm still missing some things.

Thanks for all the help.

On Tue, Nov 3, 2009 at 11:35 PM, Aengus  wrote:
> On 11/3/2009 7:38 PM, Troy Simpson wrote:
>>
>> The logs are from an IIS Windows server, but I'm running Analog on a
>> RedHat Linux Server.  I had the directive case set to insensitive.
>> That was counter intuitive.
>>
>> CASE INSENSITIVE
>>
>> When I check my setting, the objectID was converted to lowercase.
>> Including (+) and excluding (-) the following files:
>>  All excluded, then
>>  + /*0847dda0-f261-59bf-faa04eb1ec032b61
>>
>> How come this directive works:
>> FILEINCLUDE /*?*0847DDA0-F261-59BF-FAA04EB1EC032B61
>>
>> But this directive does not work:
>> FILEINCLUDE /*0847DDA0-F261-59BF-FAA04EB1EC032B61
>>
>> Why do I have to have stars (*) on both sides of the question mark?
>
> Because 0847DDA0-F261-59BF-FAA04EB1EC032B61 is not a file name, it's an
> argument to index.cfm.
>
> Aengus
> +
> |  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
> +
>



-- 
Troy Simpson

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


[analog-help] Order of processing steps...

2009-11-04 Thread Troy Simpson
Thanks for all the help so far.
Where can I find Analog's order of process.
I'm trying to understand this in order to process URL
parameters/querystring as I would like.

As far as I can tell it must go like this:

1.  Read line from Log file
example:  http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E6

2.  Process FILEALIAS directives
example:
FILEALIAS /*?*72015D13-BDB7-CEBA-FCC75AAEAA3A08E6 /*
Translates this:
http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E6
to this: http://www.mydomain.com/72015D13-BDB7-CEBA-FCC75AAEAA3A08E6

3.  Process FILEINCLUDE directives
example:
FILEINCLUDE http://www.mydomain.com/72015D13-BDB7-CEBA-FCC75AAEAA3A08E6

Is that correct?

I plan on creating a configuration file that will list all the
objectID that I want to include in the report.
Maybe something like this will work:
FILEINCLUDE 
http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E6
FILEINCLUDE 
http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E7
FILEINCLUDE 
http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E8
FILEINCLUDE 
http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08E9
FILEINCLUDE 
http://www.mydomain.com/?objectid=72015D13-BDB7-CEBA-FCC75AAEAA3A08F0

If this posting does not make any sense, them I have got it all screwed up.
If so, then flame me with constructive criticism.
-- 
Troy Simpson
+
|  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
+


[analog-help] a little bit OT - doing backups

2009-11-04 Thread Christoph Kukulies

Sorry if this is not 100% analog centric. But I guess anyone in this list
is familar with the issue:

I recently resurrected a site which did not do any backups or at least 
the backup

strategy was not very sophisticated.

Now the system admin decided to do a nightly backup to a 40 GB tape or 
something. A full backup.

It takes 4 hours and he stopped tomcat, apache and mysql for that.

For 4 hours the site is now off net (!).


Incredible.

I'm trying to advise him to do either the backup without caring about 
locked files/open files.
We have scheduled this for the coming nihjtly backup and want to watch 
the outcome.


Is analog picky in any way about the log files?

The dnsquery processes also take quite a while. But I believe, apache 
doesn't have

to be stopped for this.

(I'm talking about Windows XP, btw). Thanks for your attention.

--
Christoph

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