SAP ASE: How to Check Where Audit Records Are Stored

If you need to collect audit logs from SAP ASE, first confirm where the server is writing them. Depending on the ASE release and platform, records may be stored in database tables or sent to the operating system logging facility.

What to check

  1. Connect to ASE using an authorized account and check whether auditing is enabled.
  2. On a release that supports the Linux-only audit trail type parameter, display its current value using the relevant sp_configure command below.
  3. If table-based auditing is in use, look for the configured audit tables in sybsecurity. ASE supports sysaudits_01 through sysaudits_08; not every installation uses all eight.
  4. If syslog is configured on a supported Linux system, ask the OS team to confirm the logging destination, forwarding rules, permissions and retention.
  5. Review the current audit table capacity or syslog destination before making changes. If moving the audit trail, validate that new events arrive and historical records are still retrievable.

Command to check

sp_configure 'auditing'
go
-- On supported Linux ASE releases:
sp_configure 'audit trail type'
go

These commands display settings; they do not enable auditing or move existing records. Do not truncate audit tables or change the logging destination without an approved retention and archive plan.

Reference

SAP Help: audit trail type (Linux Only).

SAP Help: The Audit Trail.

SAP Note: 3795498.

You May Also Like

Leave a Reply?