Moving logfiles

Avatar
  • updated
  • Answered
For our installation I am having the log files read across a network share. Recently I zipped up some of the logfiles and then moved them to the PC where WebLog Expert runs. I then noticed that WebLog Expert doesn't report any of the traffic for the logs that were moved. I don't have the check box checked to "remove old reports" in that profile.

So, I am going to have WebLog Expert re-analyze the logs I zipped up onto the local machine. I did find that I can't zip up multiple logfiles into one zip file and that is fine.

So, here is my question. As I keep moving logfiles off the webserver and onto the local PC, Will it know a particular logfile has been analyzed and ignore it or will it redo that logfile and count all that traffic twice - once from when it was on the webserver and once for when it is on the local machine? Note that an individual logfile will never be on both machines at the same time.
Avatar
Dr. Who
Thank you for the reply. As I mentioned, I was concerned logfiles would get counted twice and since that isn't the case, things are great.

I did #1 last night and found that the profiles in question did reanalyze the logfiles I moved.

I'll look into #2 to automatically move and zip them up prior to doing the daily analysis.
Avatar
Michael
The program reports on files that are available now only. So if you remove some files, the program reanalyzes existing files to create a report that doesn't include statistics on the removed files.

In your case you have two options:

1. You can choose the "Multiple" log location mode in Profile Properties > Log Files, and create one location for files on the local machine and one location for files on network share. It will work correctly but the program will need to reanalyze all the logs when some of them are moved (as it will think that files on the share were deleted so it's necessary to reanalyze all the files).

2. You can download log files to a local machine daily (e.g. by scheduling this task) and just analyze log files on the local computer. You should also compress each log file into a separate .zip archive in this case so it will use less space and the program will correctly detect it as a new log that can be added to existing data (if you append log to existing .zip files the program will think that this .zip file has been changed and all files should be reanalyzed).