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

The Database Table for storing Filter Names

When you enable logging into database, it will be useful to easy find the Filter Name by its Filter Id because the Filter Name is not stored in database along with traffic counters, packets or HTTP hosts headers. This table allows to simplify building SQL statements from several tables.

Table for storing Filter Names should have name "filters" and the following format:

Column name

Type

Description

1.

filterid

smallint

Filter Id, integer value (1 - 32768)

2.

filtername

char(120)

Filter Name

Filling this table occurs every time when traffic capture starts and if you enable at least one type of logging into database (traffic counters, packets or Host headers HTTP). To create this table in Microsoft SQL Server, you can use the following command:

CREATE TABLE [dbo].[filters] (
   filterid int PRIMARY KEY,
   filtername char(120) NOT NULL)

 Note

  • Table "Filters" is not mandatory table. TrafMeter will work normally, if this table doesn't exist.

 

This HTML Help has been published using the chm2web software.