When the SAE writes data to a flat file, it writes into the first line the headers that identify the attributes in the file. For example, in the following accounting file, the first line lists headers for all attribute fields in the file, and the following lines list the actual data in each field:
- Accounting Status,NAS ID,SSP Host,Router Name,Interface
Name,Interface Alias,Interface Description,NAS port ID,User IP Address,User
ID,User Accounting ID,User Authentication ID,INTF Radius Class,INTF,SessionId,
Service Name,Radius Class,Timestamp,SessionId, Terminate Cause,Session
Time,Input Octets,Output Octets,Input Packets,Output Packets,NAS IP,User
Mac address,Service Session Name,Service Session Tag,User Session
Type,User Session Radius Class,User Session ID
- start,SSP.uelmo,uelmo,default@erx7_ssp57,FastEthernet1/1.1,,IP1/1.1,default@erx7_ssp57
FastEthernet1/1:65535, 10.10.10.20,pebbles@virneo.net,,,,erx fastEthernet
1/1:0001048619,Video-Gold,Video-Gold,Fri Jan 30 14:23:29 EDT 2004,
VideoGold:null:1064946209182, 0,0,0,0,0,0, 10.10.7.17,,,,PPP,, pebbles:1064946144841
You can assign your own names to the headers that appear in the file. To do so, define the header names in a template, and then set up file accounting plug-in instances to use the template. The default template, FileAccounting.std, defines header names for all possible attributes. You can use the default template or create your own templates.
To set up a file accounting template:
To set up a file accounting template from the default template:
The Attributes pane appears.
To create a new file accounting template and add attributes:
The Configuration pane appears.
The new template appears in the side pane and in the File Accounting pane.
The Attributes pane appears.