Audit Log Commands

Dodeca maintains two audit trails per tenant: a data audit log, recording changes to individual data cell values, and a metadata audit log, recording changes to artifacts and other repository objects. These commands purge audit log records; they do not view or export audit log content from the shell.

Delete Data Audit Log Records

Delete every data audit log record in the current tenant:

dshell/SAMPLE:>delete-data-audit-log-records --all

Delete only records older than a number of days:

dshell/SAMPLE:>delete-data-audit-log-records --days 90

Delete only records whose changed data points include all of the given members (a Scenario, Version, Year, or similar dimension member); this can be combined with --days to also restrict by age:

dshell/SAMPLE:>delete-data-audit-log-records --members Actual FY2023 --days 90

--all takes precedence over --members/--days if given together. At least one of --all, --days, or --members must be specified, or the command reports an error and deletes nothing.

Delete Metadata Audit Log Records

Delete every metadata audit log record in the current tenant:

dshell/SAMPLE:>delete-metadata-audit-log-records --all

Delete only records older than a number of days:

dshell/SAMPLE:>delete-metadata-audit-log-records --days 90

--all takes precedence over --days if given together. At least one of --all or --days must be specified, or the command reports an error and deletes nothing.