Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

logresolvemerge.pl Logs form four servers

Reply to Post Add a New Topic
UserPost

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.

Reply to Post

Reply to Topic:
logresolvemerge.pl Logs form four servers

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
10 + 4
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
17 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 513
Posts: 2447

Membership:

There are 4127 Members
There have been 254 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: eniko, leptserkhan, JohnnyB, dweb3d, buck, newtoawstat

Administrators: Jean-Luc (1063 Posts)

Moderators: Jean-Luc (1063 Posts)