User Post
9:27 pm May 5, 2010
DTNMike
Member
posts 19
Hello,
I have four servers that have web trends log files on them. We want to use AWStats in place of web trends.
Question: What should my LogFile entry look like in the config file? I am assuming from what little documentation there is that AWStats has the capability to go out to external servers and merge all log files down to one central server and process them.
Thanks in advance.
Mike
9:55 pm May 5, 2010
Jean-Luc
Admin
posts 1063
Hi Mike,
Here is an example of logresolvemerge in a Microsoft environment:
LogFile="D:\\path-tools\\logresolvemerge.pl F:\\path-logs-1\\ex%YY-1%MM-1%DD-1.log F:\\path-logs-2\\ex%YY-1%MM-1%DD-1.log |"
This is just an example.
10:06 pm May 5, 2010
DTNMike
Member
posts 19
Oh.. I see. I understand.
One more question Since will a UNC path name suffice in place of the four "F" paths, something like \\\\serverName\\d$\\rest-of-path-to-logs ?
10:29 pm May 5, 2010
DTNMike
Member
posts 19
Ok, so this what I have:
LogFile="D:\\Inetpub\\wwwroot\\dev.aghost.net\\cgi\\tools\\logresolve merge.pl \\\\serverName\\d$\\Logs\\IISLogs\\W3SVC1\\ex%YY-24%MM -24%DD-0.log |"
This is erroring out when I do a command line update.
Thanks for your help!
10:31 pm May 5, 2010
Jean-Luc
Admin
posts 1063
I am not sure about the use of the UNC syntax. It should be easy to check it on your systems.
Note: the backslash character is not always correctly displayed in this forum. I will edit your post if needed to make backslashes visible.
10:34 pm May 5, 2010
DTNMike
Member
posts 19
Yeah, I see that the slashes were removed in my post …
I can plug that UNC path into windows explorer and jump right to the log files. So apparently AWstats isn't recognizing it.
In my mind, I'm thinking somewhere someone must have come up with a way to do this but I haven't been able to find a single example on the net.
10:45 pm May 5, 2010
Jean-Luc
Admin
posts 1063
I believe that AWStats supports pseudo-drives ("drives" created with a command like SUBST X: C:\\NEWDRIVE ). Not sure this will help you though.