This is kind of a complex one, so please bear with me. I want to determine the
user (%u) attribute by a certain field in the cookie. Simply using the whole cookie
won't suffice, as some cookies will have this field identical but will be different in
other fields, and these should appear as the same user. Currently I accomplish this by
using the whole cookie for the user, then using a USERALIAS command to take out
everything but the text appearing between "ClientID=" and [;&]. However, this isn't a
perfect solution, because some lines in the logfile do not contain this cookie field.
I can't ignore the user field in these cases with an alternate LOGFORMAT, because
inserting the text ClientID into the LOGFORMAT causes it to reject lines in which a
capital C in the cookie are not followed by "lientID", and this field is not always
the first to appear in the cookie. The only solution that comes to mind would be to
have a second LOGFORMAT that ignores the cookie field and doesn't r!
eport user information, the first one requiring the "ClientID=" text. I don't know how
to do this without being able to find an entire string in the line, without matching
part of it. Can anybody tell me how to do this, or name an alternate solution?
+------------------------------------------------------------------------
| TO UNSUBSCRIBE from this list:
| http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
| Digest version: http://lists.isite.net/listgate/analog-help-digest/
| Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
| List archives: http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------