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

Display records for a specific virtual host name from single IIS Log file containing several virtual web servers.

Reply to Post Add a New Topic
UserPost

4:03 pm
April 2, 2009


RB

Guest

Hello -

I have a Windows 2003 server running multiple virtual domains and AWSTATS is working just fine at presenting stats for all virtual domains on the server.  However, I am only interested in capturing stats for a specific virtual domain.  Anyone have any success doing this?

According to the "mydomain.conf" file I attempted this by modifying the SiteDomain parameter to included the virtual domain I am interested in but no luck.  Perhaps I have syntax issues…

Per the conf file:

"# If you share the same log file for several virtual web servers, this
# parameter is used to tell AWStats to filter record that contains records for
# this virtual host name only (So check that this virtual hostname can be
# found in your log file and use a personalized log format that include the
# %virtualname tag)."

Thanks in advance for any assistance..

RB

4:18 pm
April 2, 2009


Jean-Luc

Admin

posts 1063

Hi,

Please paste here the LogFormat , SiteDomain and HostAliases  values used in the AWStats config file and the line starting with #Fields: , at the beginning of your log file, and a few other lines from the log file.

4:54 pm
April 2, 2009


RB

Guest

Hey Jean -

I believe you provided the solution to my counterpart on a different thread Laugh  I updated the OnlyFiles parameter with the virtual domain of interest and that did the trick.

OnlyFiles="REGEX[myvirtualdomain]"   

Many Thanks…

RB

Reply to Post

Reply to Topic:
Display records for a specific virtual host name from single IIS Log file containing several virtual web 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:
12 + 8
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
13 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)