![]() |
User Guide for Cisco Secure ACS Windows Server 3.1
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Working with Logging and Reports
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsWorking with Logging and ReportsLogging Formats Special Logging Attributes Update Packets In Accounting Logs About Cisco Secure ACS Logs and Reports Working with CSV Logs CSV Log File Names
Working with ODBC LogsCSV Log File Locations Enabling or Disabling a CSV Log Viewing a CSV Report Configuring a CSV Log Preparing for ODBC Logging
Remote LoggingConfiguring a System Data Source Name for ODBC Logging Configuring an ODBC Log About Remote Logging
Service LogsImplementing Centralized Remote Logging Remote Logging Options Enabling and Configuring Remote Logging Disabling Remote Logging Working with Logging and ReportsCisco Secure Access Control Server (Cisco Secure ACS) for Windows Server version 3.1 produces a variety of logs and provides a way to view most of these logs in the Cisco Secure ACS HTML interface as HTML reports. This chapter contains the following topics about logging: Logging FormatsCisco Secure ACS logs a variety of user and system activities. Depending on the log, and how you have configured Cisco Secure ACS, logs can be recorded in one of two formats:
For information about the formats available for a specific log, see About Cisco Secure ACS Logs and Reports. Special Logging AttributesAmong the many attributes that Cisco Secure ACS can record in its logs, a few are of special importance. The following list explains the special logging attributes provided by Cisco Secure ACS.
The content of these attributes is determined by the values entered in the corresponding fields in the user account. For more information about user attributes, see User Data Configuration Options.
The Filter Information attribute is available for Passed Authentication and Failed Attempts logs. The Device Command Set attribute is available for Failed Attempts logs.
Update Packets In Accounting LogsWhenever you configure Cisco Secure ACS to record accounting data for user sessions, Cisco Secure ACS records start and stop packets. If you want, you can configure Cisco Secure ACS to record update packets, too. In addition to providing interim accounting information during a user session, update packets drive password expiry messages via CiscoSecure Authentication Agent. In this use, the update packets are referred to as watchdog packets.
For more information on setting this option for a AAA client, see Adding a AAA Client. For more information on setting this option for a AAA server, see Adding a AAA Server. About Cisco Secure ACS Logs and ReportsThe logs that Cisco Secure ACS provides can be divided into four groups: This section contains information about the first three groups. For information about service logs, see Service Logs. Accounting LogsAccounting logs contain information about the use of remote access services by users. By default, these logs are available in CSV format. With the exception of the Passed Authentications log, you can also configure Cisco Secure ACS to export the data for these logs to an ODBC-compliant relational database that you configure to store the log data. Table 9-1 describes all accounting logs. In the HTML interface, all accounting logs can be enabled, configured, and viewed. Table 9-2 contains information about what you can do in the Cisco Secure ACS HTML interface regarding accounting logs.
Table 9-1 Accounting Log Descriptions
Table 9-2 What You Can Do with Accounting Logs
Dynamic Administration ReportsThese reports show the status of user accounts at the moment you access them in the Cisco Secure ACS HTML interface. They are available only in the HTML interface, are always enabled, and require no configuration. Table 9-3 contains descriptions of all dynamic administration reports and information about what you can do regarding dynamic administration reports.
Table 9-3 Dynamic Administration Report Descriptions and Related Topics
Viewing the Logged-in Users ReportTo view the Logged-in Users report, follow these steps: Step 1 In the navigation bar, click Reports and Activity. Step 2 Click Logged-in Users. Result: The Select a AAA Client page displays the name of each AAA client, its IP address, and the number of users logged in through the AAA client. At the bottom of the table, the All AAA Clients entry shows the total number of users logged in.
Step 3 Do one of the following: Result: Cisco Secure ACS displays a table of users logged in, including the following information:
Deleting Logged-in UsersFrom a Logged-in Users Report, you can instruct Cisco Secure ACS to delete users logged into a specific AAA client. When a user session terminates without a AAA client sending an accounting stop packet to the Cisco Secure ACS server, the Logged-in Users Report continues to show the user. Deleting logged-in users from a AAA client ends the accounting for those user sessions.
To delete logged-in users, follow these steps: Step 1 In the navigation bar, click Reports and Activity. Step 2 Click Logged-in Users. Result: The Select a AAA Client page displays the name of each AAA client, its IP address, and the number of users logged in through the AAA client. At the bottom of the table, the All AAA Clients entry shows the total number of users logged in. Step 3 Click the name of the AAA client whose users you want to delete from the Logged-in Users report. Result: Cisco Secure ACS displays a table of all users logged in through the AAA client. The Purge Logged in Users button appears below the table. Step 4 Click Purge Logged in Users. Result: Cisco Secure ACS displays a message, indicating the number of users purged from the report and the IP address of the AAA client. Viewing the Disabled Accounts ReportTo view the Disabled Accounts report, follow these steps: Step 1 In the navigation bar, click Reports and Activity. Step 2 Click Disabled Accounts. Result: The Select a user account to edit page displays disabled user accounts, the account status, and the group to which the user account is assigned. Step 3 To edit a user account listed, in the User column, click the username. Result: Cisco Secure ACS opens the user account for editing. For more information about editing a user account, see Basic User Setup Options. Cisco Secure ACS System LogsSystem logs are logs about the Cisco Secure ACS system and therefore record system-related events. These logs are useful for troubleshooting or audits. They are always enabled and are only available in CSV format. Some system logs can be configured. For information about each system log, including which system logs are configurable, see "Accounting Log Descriptions and Related Topics". For instructions on viewing a CSV report in the HTML interface, see Viewing a CSV Report.
Table 9-4 Accounting Log Descriptions and Related Topics
Configuring the Administration Audit LogTo configure the Administrative Audit log, follow these steps: Step 1 In the navigation bar, click Administration Control. Step 2 Click Audit Policy. Result: The Audit Policy Setup page appears. Step 3 To generate a new Administrative Audit CSV file at a regular interval, select one of the following options:
Step 4 To generate a new Administrative Audit CSV file when the current file reaches a specific size, select the When size is greater than X KB option and type the file size threshold in kilobytes in the X box. Step 5 To manage which Administrative Audit CSV files Cisco Secure ACS keeps, follow these steps: a. Select the Manage Directory check box. b. To limit the number of Administrative Audit CSV files Cisco Secure ACS retains, select the Keep only the last X files option and type in the X box the number of files you want Cisco Secure ACS to retain. c. To limit how old Administrative Audit CSV files retained by Cisco Secure ACS can be, select the Delete files older than X days option and type the number of days for which Cisco Secure ACS should retain a Administrative Audit CSV file before deleting it. Step 6 Click Submit. Result: Cisco Secure ACS saves and implements the Administrative Audit log settings you specified. Working with CSV LogsThis section contains the following topics: CSV Log File NamesWhen you access a report in Reports and Activity, Cisco Secure ACS lists the CSV files in chronological order, with the current CSV file at the top of the list. The current file is named log.csv, where log is the name of the log. Older files are named in the following format: yyyy is the year the CSV file was started. mm is the month the CSV file was started, in numeric characters. dd is the date the CSV file was started. For example, a Database Replication log file that was generated on October 13, 2002, would be named CSV Log File LocationsBy default, Cisco Secure ACS keeps log files in directories unique to the log. The HTML interface enables you to configure the log file location for some logs while the location for other log files is not configurable. The default directories for all logs are within sysdrive:\Program Files\CiscoSecure ACS vx.x. For the subdirectory of this location for a specific log, see Table 9-5. Enabling or Disabling a CSV LogThis procedure describes how to enable or disable a CSV log. For instructions about configuring the content of a CSV log, see Configuring a CSV Log.
To enable or disable a CSV log, follow these steps: Step 1 In the navigation bar, click System Configuration. Step 2 Click Logging. Step 3 Click the name of the CSV log you want to enable. Result: The CSV log Comma-Separated Values File Configuration page appears, where log is the name of the CSV log you selected. Step 4 To enable the log, under Enable Logging, select the Log to CSV log report check box, where log is the name of the CSV log you selected in Step 3. Step 5 To disable the log, under Enable Logging, clear the Log to CSV report log check box, where log is the name of the CSV log you selected in Step 3. Step 6 Click Submit. Result: If you enabled the log, Cisco Secure ACS begins logging information for the log selected. If you disabled the log, Cisco Secure ACS stops logging information for the log selected. Viewing a CSV Report When you select Logged-in Users or Disabled Accounts, a list of logged-in users or disabled accounts appears in the display area, which is the frame on the right side of the web browser. For all other types of reports, a list of applicable reports appears. Files are listed in chronological order, with the most recent file at the top of the list. The reports are named and listed by the date on which they were created; for example, a report ending with Files in CSV format can be imported into spreadsheets using most popular spreadsheet application software. Refer to your spreadsheet software documentation for instructions. You can download the CSV file for any CSV report you view in Cisco Secure ACS. The procedure below includes steps for doing so. To view a CSV report, follow these steps: Step 1 In the navigation bar, click Reports and Activity. Step 2 Click the name of the CSV report you want to view. Result: On the right side of the browser, Cisco Secure ACS lists the current CSV report file name and the file names of any old CSV report files.
Step 3 Click the CSV report file name whose contents you want to view. Result: If the CSV report file contains information, the information appears in the display area.
Step 4 If you want to download the CSV log file for the report you are viewing, follow these steps: Result: Your browser displays a dialog box for accepting and saving the CSV file. Configuring a CSV LogThis procedure describes how to configure the content of a CSV log. For instructions to enable or disable a CSV log, see Enabling or Disabling a CSV Log. The logs to which this procedure applies are as follows: You can configure several aspects of a CSV log:
To configure a CSV log, follow these steps: Step 1 In the navigation bar, click System Configuration. Step 2 Click Logging. Step 3 Click the name of the CSV log you want to enable. Result: The CSV log Comma-Separated Values File Configuration page appears, where log is the name of the CSV log you selected. The Select Columns To Log table contains two lists, Attributes and Logged Attributes. The attributes in the Logged Attributes list appear on the log selected. Step 4 To add an attribute to the log, select the attribute in the Attributes list, and then click > (right arrow button). Result: The attribute moves to the Logged Attributes list.
Step 5 To remove an attribute from the log, select the attribute in the Logged Attributes list, and then click < (left arrow button). Result: The attribute moves to the Attributes list.
Step 6 To set the attributes in the Logged Attributes list back to the default selections, at the bottom of the browser window, click Reset Columns. Step 7 To generate a new CSV file at a regular interval, select one of the following options: Step 8 To generate a new CSV file when the current file reaches a specific size, select the When size is greater than X KB option and type the file size threshold, in kilobytes, in the X box. Step 9 To manage which CSV files Cisco Secure ACS keeps, follow these steps: a. Select the Manage Directory check box. b. To limit the number of CSV files Cisco Secure ACS retains, select the Keep only the last X files option and type the number of files you want Cisco Secure ACS to retain in the X box. c. To limit how old CSV files retained by Cisco Secure ACS can be, select the Delete files older than X days option and type the number of days for which Cisco Secure ACS should retain a CSV file before deleting it. Step 10 Click Submit. Result: Cisco Secure ACS implements the CSV log configuration that you specified. Working with ODBC LogsThis section contains procedures for the following topics: Preparing for ODBC LoggingTo prepare for ODBC logging, there are several steps you must complete. After you have prepared for ODBC logging, you can configure individual ODBC logs. To prepare for ODBC logging, follow these steps: Step 1 Set up the relational database to which you want to export logging data. For more information, refer to your relational database documentation. Step 2 Set up a system data source name (DSN) on the Cisco Secure ACS server. For instructions, see Configuring a System Data Source Name for ODBC Logging. Step 3 Enable ODBC logging in the Cisco Secure ACS HTML interface: Result: Cisco Secure ACS enables the ODBC logging feature. On the Logging page, in the System Configuration section, Cisco Secure ACS displays links for configuring ODBC logs. Result: You can now configure individual ODBC logs. For instructions, see Configuring an ODBC Log. Configuring a System Data Source Name for ODBC LoggingOn the computer running Cisco Secure ACS, you must create a system DSN for Cisco Secure ACS to communicate with the relational database that is to store your logging data. To create a system DSN for use with ODBC logging, follow these steps: Step 1 In Windows Control Panel, double-click ODBC Data Sources. Step 2 In the ODBC Data Source Administrator page, click the System DSN tab. Step 3 Click Add. Step 4 Select the driver you need to use with your new DSN, and then click Finish. Result: A dialog box displays fields requiring information specific to the ODBC driver you selected. Step 5 Type a descriptive name for the DSN in the Data Source Name box. Step 6 Complete the other fields required by the ODBC driver you selected. These fields may include information such as the IP address of the server on which the ODBC-compliant relational database runs. Step 7 Click OK. Step 8 Close the ODBC window and Windows Control Panel. Result: The System DSN to be used by Cisco Secure ACS for communicating with the relational database is created on the computer running Cisco Secure ACS. The name you assigned to the DSN appears in the Data Source list on each ODBC log configuration page. Configuring an ODBC LogThe logs to which this procedure applies are as follows:
To configure an ODBC log, follow these steps: Step 1 In the navigation bar, click System Configuration. Step 2 Click Logging. Step 3 Click the name of the ODBC log you want to enable. Result: The ODBC log Configuration page appears, where log is the name of the ODBC log you selected. The Select Columns To Log table contains two lists: Attributes and Logged Attributes. When you first access the ODBC configuration page for a log, the Logged Attributes list contains the default set of attributes. Cisco Secure ACS includes in the log only those attributes that are in the Logged Attributes list. Step 4 Specify the attributes that you want Cisco Secure ACS to send to the relational database: a. To add an attribute to the log, select the attribute in the Attributes list, and then click > (right arrow button). Result: The attribute moves to the Logged Attributes list.
b. To remove an attribute from the log, select the attribute in the Logged Attributes list, and then click < (left arrow button). Result: The attribute moves to the Attributes list.
c. To set the attributes in the Logged Attributes list back to the default selections, click Reset Columns. Step 5 In the ODBC Connection Settings table, configure Cisco Secure ACS to communicate with the ODBC database. To do so, follow these steps: a. From the Data Source list, select the system DSN you created to allow Cisco Secure ACS to send ODBC logging data to your relational database. b. In the Username box, type the username of a user account in your relational database (up to 80 characters).
c. In the Password box, type the password (up to 80 characters) for the relational database user account you specified in Step b. d. In the Table Name box, type the name (up to 80 characters) of the table to which you want ODBC logging data appended. Step 6 Click Submit. Result: Cisco Secure ACS saves the log configuration. Step 7 Click the name of the ODBC log you are configuring. Result: Cisco Secure ACS displays the ODBC log configuration page again. Step 8 Click Show Create Table. Result: The right side of the browser displays an SQL create table statement for Microsoft SQL Server. The table name is the name specified in the Table Name box. The column names are the attributes specified in the Logged Attributes list.
Step 9 Using the information provided in the generated SQL, create a table in your relational database for this ODBC log.
Step 10 Continuing in Cisco Secure ACS, access the configuration page for the ODBC log you are configuring: Result: The ODBC log Configuration page appears, where log is the name of the ODBC log you selected. Step 11 Select the Log to ODBC log report check box, where log is the name of the ODBC log you selected. Step 12 Click Submit. Result: Cisco Secure ACS begins sending logging data to the relational database table specified, using the system DSN you configured. Remote LoggingThis section discusses remote logging capabilities of Cisco Secure ACS. It contains the following topics: About Remote LoggingThe Remote Logging feature enables you to centralize accounting logs generated by multiple Cisco Secure ACSes. You can configure each Cisco Secure ACS to point to one Cisco Secure ACS that is to be used as a central logging server. The central logging Cisco Secure ACS still performs AAA functions, but it also is the repository for accounting logs it receives. For more information about Cisco Secure ACS accounting logs, see Accounting Logs. The Remote Logging feature enables Cisco Secure ACS to send accounting data received from AAA clients directly to the CSLog service on the remote logging server, where the accounting data is written to the logs. The logging server generates the accounting logs in the formats it is configured to useCSV and ODBCregardless of the local logging configuration on the Cisco Secure ACSes sending the data to the central logging server. Cisco Secure ACS listens on TCP port 2001 for remote logging communication. Remote logging data is encrypted by a 128-bit proprietary algorithm.
Implementing Centralized Remote LoggingMake sure that gateway devices between remote Cisco Secure ACSes and the central logging Cisco Secure ACS permit the central logging Cisco Secure ACS to receive data on TCP port 2001. To implement centralized remote logging, follow these steps: Step 1 On a Windows 2000 server that you want to use to store centralized logging data, install Cisco Secure Access Control Server (Cisco Secure ACS) for Windows Server version 3.1. For information about installing Cisco Secure ACS, see the Installation Guide for Cisco Secure ACS for Windows Server. Step 2 In the Cisco Secure ACS running on the central logging server, follow these steps: a. Configure the accounting logs as needed. All accounting data sent to the central logging server will be recorded in the way you configure accounting logs on this Cisco Secure ACS. For information about accounting logs, see Accounting Logs. Accounting logs can be recorded in either CSV or ODBC format. For information about configuring CSV logs, see Working with CSV Logs. For information about configuring ODBC logs, see Working with ODBC Logs. b. Add to the AAA Servers table each Cisco Secure ACS that the central logging server is to receive accounting data from. For more information, see AAA Server Configuration.
Step 3 For each Cisco Secure ACS that is to send its accounting data to the central logging server, follow these steps: a. Add the central logging server to the AAA Servers table in Network Configuration. For more information, see AAA Server Configuration. b. Enable remote logging. For more information, see Enabling and Configuring Remote Logging. Step 4 If you want to create other central logging servers, for use either as secondary servers or as mirrored logging servers, perform Step 1 through Step 3 for each additional server. Remote Logging OptionsCisco Secure ACS provides the remote logging options listed below. These options appear on the Remote Logging Setup page.
Enabling and Configuring Remote Logging
To enable and configure remote logging, follow these steps: Step 1 To enable the Remote Logging feature in the HTML interface, follow these steps: Result: Cisco Secure ACS displays the Remote Logging link on the Logging page in the System Configuration section. Step 2 Click System Configuration. Step 3 Click Logging. Result: The Logging Configuration page appears. Step 4 Click Remote Logging. Step 5 Select the applicable remote logging option: a. To send the accounting information for this Cisco Secure ACS to more than one Cisco Secure ACS, select the Log to all selected remote log services option. b. To send the accounting information for this Cisco Secure ACS server to one Cisco Secure ACS, select the Log to subsequent remote log services on failure option.
Step 6 For each remote Cisco Secure ACS you want to have in the Selected Log Services list, follow these steps: a. In the Remote Log Services list, select the name of a Cisco Secure ACS to which you want to send accounting data for locally authenticated sessions.
b. Click > (right arrow button) to move the selected Cisco Secure ACS to the Selected Log Services list. Step 7 To assign an order to the servers in the Selected Log Services list, click Up and Down to move selected Cisco Secure ACSes until you have created the order you need.
Step 8 Click Submit. Result: Cisco Secure ACS saves and implements the remote logging configuration you specified. Disabling Remote LoggingBy disabling the Remote Logging feature, you prevent Cisco Secure ACS from sending its accounting information to a central logging Cisco Secure ACS. To disable remote logging, follow these steps: Step 1 In the navigation bar, click System Configuration. Step 2 Click Logging. Step 3 Click Remote Logging. Step 4 Select the Do not log Remotely option. Step 5 Click Submit. Result: Cisco Secure ACS no longer sends its accounting information for locally authenticated sessions to remote logging servers. Service LogsService logs are considered diagnostic logs and are used for troubleshooting or debugging purposes only. These logs are not intended for general use by Cisco Secure ACS administrators; instead, they are mainly sources of information for Cisco support personnel. Service logs contain a record of all Cisco Secure ACS service actions and activities. Cisco Secure ACS generates these logs whenever the services are running, regardless of whether the administrative interface is started, and regardless of whether you are using the service. For example, RADIUS service logs are created even if you are not using the RADIUS protocol in your network. For more information about Cisco Secure ACS services, see "Cisco Secure ACS Internal Architecture." Services LoggedCisco Secure ACS generates logs for the following services: These files are located in the The most recent debug log is named as follows: where SERVICE is the name of the applicable service. Older debug logs are named with the year, month, and date they were created. For example, a file created on July 13, 1999, would be named as follows: where SERVICE is the name of the applicable service. If you selected the Day/Month/Year format, the file would be named as follows: Configuring Service LogsYou can configure how Cisco Secure ACS generates and manages the service log file. The options for configuring the service log file are listed below.
To configure how Cisco Secure ACS generates and manages the service log file, follow these steps: Step 1 In the navigation bar, click System Configuration. Step 2 Click Service Control. Result: The status of the services appears in the CiscoSecure ACS on hostname table, where hostname is the name of the Cisco Secure ACS server. Step 3 To disable the service log file, under Level of detail, select the None option. Result: After you click Restart, Cisco Secure ACS does not generate new service logs file. Step 4 To configure how often Cisco Secure ACS creates a service log file, select one of the options under Generate New File. Step 5 To manage which service log files Cisco Secure ACS keeps, follow these steps: a. Select the Manage Directory check box. b. To limit the number of service log files Cisco Secure ACS retains, select the Keep only the last X files option and in the X box type the number of files you want Cisco Secure ACS to retain. c. To limit how old service log files retained by Cisco Secure ACS can be, select the Delete files older than X days option and in the X box type the number of days for which Cisco Secure ACS should retain a service log file before deleting it. Step 6 Click Restart. Result: Cisco Secure ACS restarts its services and implements the service log settings you specified.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|