Append two log files together and then analyze?

General discussions about Advanced Log Analyzer
Post Reply
kgaebler
Posts: 9
Joined: Mon Jan 31, 2005 5:32 pm

Append two log files together and then analyze?

Post by kgaebler »

Roman,

I think this will be my last question for you. Don't worry that I will be asking too many questions.

I was wondering if this approach (below) might be a workaround to the previous problem I discussed in which I have three web servers and each has its own daily logs (e.g. I have three files named ex041201.log, one from each web server).

Can I just run a .bat file that does this:

type dir1/ex041201.log > big041201.log
type dir2/ex041201.log >> big041201.log
type dir3/ex041201.log >> big041201.log

and then analyze the big041201.log file using ALA?

Would that work? Or would it fail because ALA expects the log records to be in the correct date sequence?

Thanks.

Abacre
Site Admin
Posts: 1223
Joined: Mon Jan 31, 2005 5:32 pm

Post by Abacre »

As I already explained if you Incremental Analysis is OFF then you may use your solution:
type dir1/ex041201.log > big041201.log
type dir2/ex041201.log >> big041201.log
type dir3/ex041201.log >> big041201.log

OR
you may simply put the following text into the Log Path field:
dir1/ex041201.log;dir2/ex041201.log;dir3/ex041201.log

100% sure that ALA will correctly analyze the files if Incremental
Analysis is OFF.

So do you need Incremental Analysis is ON or not?
Kind regards,
Abacre Limited
http://www.abacre.com
support@abacre.com

kgaebler
Posts: 9
Joined: Mon Jan 31, 2005 5:32 pm

Incremental Off is OK...

Post by kgaebler »

I think for preliminary analysis, I can work with Incremental Off and just see day-by-day patterns, but Incremental On support would be best of course.

I will apply your suggestions. I think they will do what I need. Thanks.

Post Reply