Korey Gozman <[EMAIL PROTECTED]> wrote:
>>LOGFORMAT COMMON
>>LOGFORMAT COMBINED
>>LOGFILE mylog
>
>Ive tried that, but is there a way to tell analog to use the log
>entry,(Common or Combined) only if it matches this specific "string",
>anywhere in the log entry, not just in the "Refferer" or "File
>Requested" field.
>
>I need this because our server writes down log entries for 50 different
>virtual host names, and I need to know how the specific virtual host
>name is doing.
This doesn't make any sense. Neither Common or Combined log format
contain Virtual Host information.
Are you telling us that you have a single server creating a single
logfile for multiple virtual hosts/servers, and not including vhost
information on each line? If so, stop right now, and configure the
server properly to create either separate logs, or to include vhost
information on each line. Throw away your existing logs, they're just
so much wasted space.
If you want to retrieve some information from these garbage logs, you
can use REFSITEINCLUDE for the entries that include a referrer field -
typically a significant proportion of referrers are "internal". But you
can kiss any sites that use common log format goodbye, as there is no
way to distinguish which virtual server they refer to, if all your logs
are in a single file.
Analog won't make guesses on your behalf - if there is no way of
distinguishing one log entry from another, there's nothing that Analog
can do to help. It doesn't matter how convoluted you make the question,
the answer will still be the same.
Aengus
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------