Salesforce

How to consolidate audit information from different databases into one database ?

« Go Back

Information

 
TitleHow to consolidate audit information from different databases into one database ?
URL Nameconsolidate-audit-information-from-different-databases-into-one-database-000034774
Article Number000156946
EnvironmentProduct: OpenEdge
Version: 10.1x, 10.2x, 11.x
OS: All supported platforms
Other: Auditing
Question/Problem Description
How to consolidate audit information from different databases into one database
Can audit information from other databases be merged into a single archive database
Can audit data from different databases be consolidated into one long term storage database
Can audit data exported with auditarchive from multiple databases be loaded into one database for reporting purposes
How is the integrity of aggregated Audit data from multiple databases preserved
Can Audit data from different databases be stored in a single reporting/archive database without compromising the integrity of the audit trail
How can the audit trail of aggregated Audit data from multiple DB's be tracked
Is _aud-audit-data._Audit-data-guid unique across multiple databases or across multiple machines
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
Yes, it is possible to archive audit data across multiple databases into a single reporting/archive database. A central architectural feature incorporated into OpenEdge Auditing is the merging of audit information from multiple databases into a single long term storage database.

Archiving Audit data is recommended as a best practice to avoid overgrowing a production database. 
 
The primary key for the audit trail is a unique UUID, which allows audit information records to be generated from different sources without conflicts, the remaining indexes are non-unique as there can be duplicates in a valid audit information storage database. The main purpose for the _aud-audit-data._Audit-data-guid field is to provide a foreign key for the child table _aud-audit-data-value that is used to store individual, modified, field values for database events.  This _Audit-data-guid field is also globally unique which allows Audit data to be archived from multiple databases to a central database, without comprising the integrity of the data. For further information the _Audit-data-guid is described in:
 
Progress OpenEdge Data Management, Core Business Services -Security and Auditing: "Audit Data Table Schema"
 
The primary method for merging audit information are the AUDITARCHIVE and AUDITLOAD utilities, which will take care of indexes and duplicate records. For further considerations and instruction on creating a long term storage archive database refer to Article  How to create a long-term storage database to store audit archive data?   
Workaround
Notes
References to Other Documentation 

Progress Documentation: 
OpenEdge Getting Started: Core Business Services, "Reporting on a single database with multiple GUIDs"
Progress OpenEdge Data Management, Core Business Services -Security and Auditing: "Audit Data Table Schema"

Progress Articles: 

_db-guid changed after dump/load and the audit data's link is broken   
Why are there multiple GUIDs listed in the _db-detail table of the database?    
How is _aud-audit-data._User-id and _Client-session-uuid populated?    
When audit archived database is imported, does the _client-session tables get updated or not?   
Duplicate records in _client-session table for both main database and audit archive database   
 How to dump and load Audit and related data programmatically?
 
Keyword Phrase
Last Modified Date11/20/2020 7:11 AM

Powered by