Accounting Log Files

Accounting Files

The TCCRadius Accounting Log File provides complete Radius Accounting Records. Each file contains Accounting Start And Stop Packets. One for the beginning and one for the end of each Radius server transaction.

The TCCRadius Accounting service creates a new logfile every month in the format of Acct.MM.YYYY.log.
MM = Current Month (01-12)
YYYY = Four Digit Year (1999, 2000, 2001, etc.)

These files can get very large, therefore, a new one is created every month. This also allows for the ability to compile a total usage pattern monthly for any user.

Accounting Summary Files

Often, the Accounting Log files become too large to efficiently gather simple user statistics information. Often, Administrators simply want to know how much time a user has spent online along with how much data they have transferred.

Why sift through all of the START records and STOP records to gather that information when the STOP packet contains all of the needed information by definition?

Enter the Accounting Summary Logfile. This file is a custom Radius Attributes file that contains only the specified summary information from STOP packets. This allows for easy parsing and configuration. This file can be configured to contain as little or as much Accounting STOP information as desired.

The default parameter is as follows:
LogSummaryAttributes = 44,46,47,48

This is the minimum amount of attributes required to work with the TCCAdministrator tool.

The TCCRadius Accounting service creates a new Accounting Summary logfile every month in the format of AcctSum.MM.YYYY.log.
MM = Current Month (01-12)
YYYY = Four Digit Year (1999, 2000, 2001, etc.)

Accounting Summary Attributes From RFC 2139*

* See RFC 2139 for more detailed information

Attribute # Name Description
40 Acct-Status-Type This indicates whether the packet is a START or STOP packet.
41 Acct-Delay-Time This attribute indicates the length of time (seconds) that the NAS client has been trying to send this packet to the TCCRadius Accounting Server.
42 Acct-Input-Octets This attribute indicates how many octets have been received from the port over the course of the session.
43 Acct-Output-Octets This attribute indicates how many octets have been sent to the port over the course of the session.
44 Acct-Session-Id Unique accounting ID for matching START and STOP records.
45 Acct-Authentic Indicates how the user was Authenticated (1 = RADIUS)
46 Acct-Session-Time Indicates total number of seconds that a user's session was in service.
47 Acct-Input-Packets This attribute indicates how many packets have been received from the port over the course of the session.
48 Acct-Output-Packets This attribute indicates how many packets have been sent to the port over the course of the session.
49 Acct-Terminate-Cause Indicates how the Session was terminated. (see RFC for details)
50 Acct-Multi-Session-Id Unique accounting ID for matching up MPP sessions.
51 Acct-Link-Count Gives the count of links given for an MPP session at the time the accounting record is created.