Understanding and managing log archival maintenance in RSA Authentication Manager 8.x
Originally Published: 2018-08-15
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.x
Issue
Authentication Manager 8.x has an internal PostgreSQL (pgSQL) database that includes data on;
- Users
- Internal database users with complete information; e. g., UserID and email address, or
- A pointer to the UserID (samAccountName, UPN) in an external LDAP identity source, such as Active Directory.
- Agents and RADIUS clients,
- Tokens, and
- Log data information for authentication activity, administrative activity and system errors.
This information can be viewed through reports generated in the Security Console. However, log data for authentication activity, administrative activity and system errors will ,over time, make the internal database grow larger and larger; which will make report generation take longer and longer. This could potentially expand the database to fill the disk drive with catastrophic results, such as crashing the authentication system.
This is why Authentication Manager comes with default parameters to archive and purge log data, to help prevent the database and log archives from filling the disk. As an Authentication Manager administrator you must make a determination as to the shelf-life or usefulness. Consideration must be paid to how long should you maintain it for reporting purposes in light of how slow reports run, and more importantly how full the Authentication Manager disk becomes.
The following definitions apply:
- Run time log data is authentication activity, successes, failures, node secret sent, offline day download for Windows agents, etc. that happen within Authentication Manager.
- Administrative log data are the actions of your super admin and help desk administrators. For example, when and to whom they assign or delete tokens, agents, etc. This log covers basically everything that can be done in the Authentication Manager Security Console or Operations Console.
- System log data is Java and system errors, critical event warnings, time setbacks, etc.
- Online means data in the internal PostgreSQL database and available in Security Console reports.
- Offline means data that has been archived and is no longer in the internal PostgreSQL database. The data still exists in .csv files located in /opt/rsa/am/Log_archive or on a remote file system.
- Validate log includes a digital signature file with each archived .csv file.
- Export means move data the from internal PostgreSQL database to an external archive .csv file.
- Purge means remove data from the internal PostgreSQL database.
Tasks
- Decide what data is necessary for reports and how long to keep it online.
- Decide how long to keep archived data on the Authentication Manager server, and
- How to create a scheduled archive job to do this.
Resolution
As the administrator, you need to decide:
- What you need for online reports, which come from and are also stored in the internal PostgreSQL database on the Authentication Manager primary server.
- What you need for archived reports, which are harder to get at and are older.
- The three types of report data are:
- Run time authentication activity,
- Administrative activity of your super admins and help desk admins in the Authentication Manager database, and
- System and debug messages and errors.
- The size of your Authentication Manager PostgreSQL database, including:
- The relation of the size to total disk space available on the hard drive, using disk usage (du) and disk filesystem (df) commands in Linux to measure,
- When/how often to run database compress to recover allocated but unused database table space, with the full vacuumdb command, and
- The performance of reports, while also noting the LDAP lookup times also affect report performance, possibly more so than database size.
Notes
The following configurations all contribute to more data in the internal database:
- Enabling verbose logging on the Authentication Manager server,
- Using RSA Authentication Agent for Windows 7.3.3 [120] and lower that utilize offline days,
- Keepalive authentication tests from Citrix NetScalers,
- Intermittent or inconsistent connections from Authentication Manager to LDAP, and
- Other tools such as Nagios.
Backing up the database locally from the Operations Console contributes to disk space usage in /opt/rsa/am/backup. Also,backup to remote file systems uses local disk space while staging or creating the backup.
You may need to SSH into the Linux operating system and use the following commands to determine the cause of low disk space:
- df -h to see free space on the entire disk
rsaadmin@am82p:/opt/rsa/am/backup> df -h Filesystem Size Used Avail Use% Mounted on rootfs 99G 8.1G 86G 9% / udev 2.0G 128K 2.0G 1% /dev tmpfs 2.0G 48K 2.0G 1% /dev/shm /dev/sda1 99G 8.1G 86G 9% /
- du -sh to see utilization in the current directory
rsaadmin@am82p:/opt/rsa/am/backup> du -sh 4.3M .
Related Articles
Change Requests cancelled via Reviews show as cancelled by System in RSA Identity Governance & Lifecycle 10Number of Views Understanding status LEDs for the RSA SecurID hardware appliance 82Number of Views Understanding the format of RSA cookies 39Number of Views Errors when configuring RSA Access Manager to send logs to RSA enVision or a generic syslog server 31Number of Views Understanding RSA Authentication Manager logging fields when they are forwarded to syslog 586Number of Views
Trending Articles
RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.9 Release Notes (January 2026) How to install the jTDS JDBC driver on WildFly for use with Data Collections in RSA Identity Governance & Lifecycle RSA Authentication Manager 8.8 Setup and Configuration Guide Artifacts to gather in RSA Identity Governance & Lifecycle
Don't see what you're looking for?