Thanks in advance for your help.

I have 2 years of .TXT log files created by a Lotus Domino server. I am
trying to create a suitable configuration so that ANALOG can process these.

The main problem that I am having is with the username. The username, when
present, is displayed in the text file as follows:

CN=Mickey M Mouse/O=Disney

"CN" will always be present at the start of the name. "/O=Disney" will
always be present at the end of the name.

The problem that I am having is the spaces - Aanlog tries to take each word
separated by spaces as a new field.

EXAMPLE:

4.35.83.178 www.disney.com CN=Mickey M Mouse/O=Disney [08/Mar/2002:00:12:15
+0800] "GET   (REMAINDER OF LINE CLIPPED)
4.35.83.178 www.disney.com CN=Daffy Duck/O=Disney [08/Mar/2002:00:12:15
+0800] "GET   (REMAINDER OF LINE CLIPPED)
4.35.83.178 www.disney.com -  [08/Mar/2002:00:12:15 +0800] "GET
(REMAINDER OF LINE CLIPPED)

Notice in the examples above that in the first case I have a name with a
middle initial. In the second example, I have a first and last name but no
middle initial. In the third example, I have only a "-" meaning that there
is no username.

CAN ANYONE ASSIST ME IN CREATING A LOGFORMAT LINE THAT WILL WORK WITH ALL
THREE OF THE ABOVE?

Here's the best I came up with. Don't waste any time on it as it does not
work. I just wanted to show that I have been reading the docs and trying to
do this myself. - Glee  (No, I don't work for Disney. I just made up the
test users on my server)

LOGFORMAT (%S %v CN=%u/Disney [%d/%M/%Y %h:%n:%j] "%j %r %j" %c %b)

I am not sure if the file attachment will go through but I have attached a
snippet of a log file called SampleDominoLog.TXT

------------------------------------------------------------------------------------------------------

Georgia Lee
eMail:               [EMAIL PROTECTED]


(See attached file: SampleDominoLog.TXT)

Attachment: SampleDominoLog.TXT
Description: Binary data

Reply via email to