Append two log files together and then analyze?
Posted: Mon Jan 31, 2005 5:32 pm
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.
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.