|
Last modified: 23 Nov 2005
In H-Sphere 2.5 and up, the system writes winbox traffic data to XML logfiles:
- YYYY-MM-DD.web.xml - http traffic,
- YYYY-MM-DD.ftpg.xml - guest ftp traffic,
- YYYY-MM-DD.ftpa.xml - anonymous ftp traffic.
Example:
<TrafficEntries>
<DailyEntries Date="2005-10-28" Type="web">
<Entry Name="domain1.wincp241.test">
<Incoming>7782</Incoming>
<Outgoing>39060</Outgoing>
<Hits>15</Hits>
<HtmlHits>8</HtmlHits>
</Entry>
<Entry Name="domain2.wincp241.test">
<Incoming>3493</Incoming>
<Outgoing>38549</Outgoing>
<Hits>8</Hits>
<HtmlHits>2</HtmlHits>
</Entry>
</DailyEntries>
</TrafficEntries>
These xml files are saved to the C:\HSphere.NET\data\services\traffic\ directory. Once a day
TrafficLoader parses these files using SOAP and writes statistic data into the translog
table of the H-Sphere system database. After that these files are deleted and created anew on the next day.
|