| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Anyone good on awstats
hi i am on win2k3 server
2 load balanced web servers and a server with awstats on to get an accurate result for stats i have to take from both servers it is possible to use the merge tool with awstats however i am having trouble first i have made a batch file to run, this maps the drives as i aint there to login then combines the files and then saves it. i then run update stats using the new file. however this only works with actual file names is if i put ex061006.log but i want to run as ex%YY-3%MM etc etc here is my batch file Code:
net use E: \\sss\logs /persistent:yes /user:user pass net use F: \\sss\logs /persistent:yes /user:user pass C:\perl\bin\perl.exe C:\AWStats\tools\logresolvemerge.pl E:\log1\ex%YY-3%MM-3%DD-6.log F:\log1\ex%YY-3%MM-3%DD-6.log > C:\test.log i have only tried running this from the command prompt, so im missing something, like maybe in the config file for awstats domain, there is something just cant get my head round it, and many dont seem to use merge let alone merge over a network. many thanks
__________________
A girl's best asset is her 'lie'ability. For Sale: Parachute. Only used once, never opened, small stain. that fold thing
|
|
#2
|
||||
|
||||
|
Your variables won't be used on the command line....they will be interpreted literally.
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! |
![]() |
| Viewing: ASP Free Forums > System Administration > Windows OS > Anyone good on awstats |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|