You can use the ISA Server 2004 log viewer to monitor and analyze traffic and troubleshoot network activity. The log viewer can display log entries as they occur (live). In this case, each time an event is logged, it is displayed in the log viewer.
ISA Server creates the following logs:
-
Firewall log
-
Web Proxy log
-
SMTP Message Screener log
The fields that can be logged in these files are detailed in online Help.
ISA Server log information can be viewed in a log viewer, directly from ISA Server Management. In addition, the log information can be stored in one of the following formats:
-
File
-
MSDE database
-
SQL database
Selecting Log Format
Each log format supported by ISA Server features different advantages. Use the table that follows to select the optimal log format, based on your specific deployment.
|
Issues
|
File
|
MSDE
|
SQL
|
|---|
|
Format
|
Two modes: Internet Information Services (IIS) and World Wide Web Consortium (W3C) standardized text formats
|
Format used to store Firewall and Web Proxy log entries
|
Format used to store Firewall and Web Proxy log entries
|
|
Network bandwidth consumption
|
Because logging is local, no network bandwidth consumption
|
Because logging is local, no network bandwidth consumption
|
Because logging is to remote server, sufficient network bandwidth is required, preferably 1 gigabyte (GB) connectivity between ISA Server and computers running SQL Server
|
|
Log size
|
Limited to 2 GB and switched automatically
|
Limited to 1.5 GB and switched automatically
|
No limit, and configured by the user, based on retention and maintenance policy
|
|
Maintenance
|
Log maintenance feature enforces log size and cleans out log, as appropriate
|
Log maintenance feature enforces log size and cleans out log, as appropriate
|
Database administrator responsible for maintenance
|
|
Security
|
Log failure stops Firewall service
|
Log failure stops Firewall serviceMSDE runs on the ISA Server computerMSDE instance can only be accessed locally
|
Log failure stops Firewall serviceAccount used for logging must have permissions on the computer running SQL ServerData is encrypted on the connection to the computer running SQL ServerSQL Server and ISA Server are mutually authenticated
|
|
Historical or offline log viewer
|
Not supported
|
Supported
|
Supported (ISA Server Enterprise Edition only)
|
|
Online log viewer
|
Supported
|
Supported
|
Supported
|
|
Performance
|
Best
|
Good
|
Depends on the following:Number of ISA Server computers loggingSQL Server settingsBandwidth allocation
|
|
Centralized logging (ISA Server Enterprise Edition only)
|
Central log for all array members
|
Central log for all array members
|
Central log for all arrays in the enterprise
|
File
You can save ISA Server logs to a file, in one of the following formats:
-
World Wide Web Consortium (W3C) format
-
ISA Server format
The SMTP Message Screener log information is saved by default in file format. It cannot be saved to a database.
Log files are limited to 2 GB. When a file exceeds this limit, ISA Server automatically creates a new file. Similarly, a new log file is created at the beginning of every day.
W3C logs contain both data and directives, describing the version, date, and logged fields. Because the fields are described in the file, unselected fields are not logged. The tab character is used as a delimiter. Date and time are in Coordinated Universal Time (UTC).
ISA Server format contains only data with no directives. All fields are always logged. Unselected fields are logged with a dash, to indicate that they are empty. The comma character is used as a delimiter. The date and time fields are in local time.
By default, the log information for log files is stored in the ISALogs folder, under the ISA Server installation folder. You can change the location. If you specify a relative directory, the log is saved in the ISALogs folder, under the ISA Server installation folder. If you specify an absolute path, the actual log folder may be different on every server.
MSDE Database
MSDE 2000 logs are limited to 2 GB. When a log exceeds this limit, ISA Server automatically creates a new database. Similarly, a new log is created at the beginning of every day. The log viewer, however, displays all the data as if it were in a single database.
When you select to save the logs to an MSDE 2000 database, logs are saved in databases named ISALOG_yyyymmdd_xxx_nnn where:
-
yyyy represents the year that the log database refers to.
-
mm represents the month that the log database refers to.
-
dd represents the day that the log database refers to.
-
xxx represents the type that the log database refers to. This can be one of the following:
-
FWS. Represents the Firewall log.
-
WEB. Represents the Web Proxy log.
-
EML. Represents the e-mail (SMTP) log.
-
nnn is a number that distinguishes between log databases that refer to the same day.
For each log database, two files are created: ISALOG_yyyymmdd_xxx_nnn.mdf and ISALOG_yyyymmdd_xxx_nnn.ldf.
ISA Server prepares, in advance, log databases for the next day. When you save logs to MSDE 2000, a database that refers to the next day always exists.
By default, the log information for MSDE 2000 logs and log files is stored in the ISALogs folder, under the ISA Server installation folder. You can change the location. If you specify a relative directory, the log is saved in the ISALogs folder, under the ISA Server installation folder. If you specify an absolute path, the actual log folder may be different on every server.
SQL Database
You can save log information to an SQL database. Saving the log information to an SQL database is useful for remote logging.
When you configure logging to an SQL database, you specify the database connection parameters, and credential information.
The system policy rule named Allow remote logging using NetBIOS transport to trusted servers must be enabled to log to an SQL database.
Important: |
|---|
|
For maximum security and functionality, we strongly recommend consulting with a SQL Server database administrator when using SQL logging.
|