Home
TrafMeter Web Online Help
TrafMeter
What is TrafMeter?
License Agreement
TrafMeter Editions
Registration Info
How To Contact Us
Description
System requirements
Introduction
Installation Package
Installation Guide
Opening the configuration
Selecting NIC
Capturing the traffic
TrafMeter Service Monitor
User authentication
Sending SMS
NAT
Traffic Shaper
Viewing the Traffic Counters
Processing the captured packet
Logging the Application Events
Logging the denied packets
Firewall
Zeroing counters
Users
Filter Manager
Filter Editor
Rule Editor
IP Address Groups
Database Connection String
XML Traffic Reports
Using XSL formatting
The example of XSL formatting
The example of XSL formatting (2)
Traffic Logging into the Database
Database table
Packet Logging
Into the plaintext file
Filename template
Into the database
Database Table
Microsoft SQL Server Syntax
MySQL Server Syntax
Microsoft Access Syntax
Useful SQL scripts
Host Header Logging
Into the plaintext file
Into the database
Database Table
Microsoft SQL Server Syntax
MySQL Server Syntax
Microsoft Access Syntax
Result Codes
Counting VPN packests
Table for storing Filter Names
Registry Settings
FAQ
TrafMeter FAQ
Traffic counting with TrafMeter FAQ
Configuration examples
Example 1
Example 2
Example 3
Example 4
Example 5
Example 6
Example 7
Example 8
Knowledge base
IP protocol number
Type Of Service (ToS) field
MAC address
Promiscuous mode
Ethernet hub
Ethernet switch
Ethernet
NAT router
HOWTO: Creating an OLE DB Connection String for Microsoft SQL Server
HOWTO: Creating an OLE DB Connection String for an Access
HOWTO: Creating an OLE DB Connection String for MySQL
Manual editing of the XML files
Zeroing counters using TrafReset
How to enable
Reloading the Filterset

Filename template

If you have daily or monthly logfiles, each logfile has, of course, a different filename that reflects the period of logging time. Filename Template allows an automatical constructing of the filenames for the logfiles and reports to simplify its rotating. The resulting filename is derived from the Filename Template based on the current system time. For example, the Filename Template:
 
c:\TrafMeter\Counter_%Y-%M-%d.txt
 
will be filename
 
c:\TrafMeter\Counter_2002-Jan-01.txt
 
if system time is 1 January 2002.

You can use the following identifiers in the Filename Template:

  • %Y - current year, 4 digits
  • %y - current year, 2 last digits
  • %m - current month, 2 digits
  • %M - current month, 3 letter (for example, Feb)
  • %d - current day, 2 digits
  • %h - current hour, 2 digits
  • %n - current minute, 2 digits

 Note

  • Using Filename Template, TrafMeter can create folders with an unlimited nested level. For example, the Filename Template:
     
    c:\Reports\traffic\Enterprise\Departments\User1\%M\%d.txt
     
    will create folder c:\Reports\traffic\Enterprise\Departments\User1\Jan\

 

This HTML Help has been published using the chm2web software.