DDAudit Models Reference

Last modified by Aurelie Bertrand on 2026/06/22 15:38

The DDAudit module provides full traceability of activity on the DigDash platform.
This documentation lists all the available data models, flows and data sets.



Audit of cubes and memory

DDaudit Cubes In Memory

This data model lists all the cubes in a domain currently loaded into memory, combining the following information:

  • identification
  • volume
  • performance
  • loading history
FieldDescription
cubeIdUnique identifier of the cube
inMemoryIndicates whether the cube is loaded into memory (1) or not (0)
lastLoaded / lastUnloadedLoading and unloading dates
dmIdIdentifier of the associated data model
dmNameName of the associated data model
roleIdID of the associated security role
cubeFileSizeSize of the cube on disk
cubeRowCountNumber of rows in the cube
nbPartsNumber of partitions
memoryMemory used by the cube (in bytes)
Number of modelsNumber of models in memory
Number of cubesNumber of cubes in memory

User session audit

DDAudit: Sessions List [now]

This model allows you to monitor user sessions over the last 30 days.

Sessions are filtered by:

  • the relevant domain
  • valid clients (excluding Scheduler or empty clients)
  • active or successful sessions (sessionStatus = 1)
FieldDescription
userUser (dd_user)
clientIdClient application
userAgent, uABrand, uAVersion, uAOSBrowser and OS information
startTime, endTimeStart and end of session
durationSession duration
sessionStatusSession status. Possible values are as follows:
STATUS_UNKNOWN = 0
STATUS_ACTIVE = 1
STATUS_CLOSED = 2
STATUS_NOTACTIVE = 3
STATUS_FAILED = -1
lastErrorLast error encountered
sessionIdUnique session ID
nbUsersNumber of users online
nbSessionsNumber of active sessions
nbSessionPerUserNumber of sessions per user

DDAudit: Sessions List

This data model is identical to the Sessions List [now] model, with no constraints on the “status” field, which allows all sessions to be analysed, including those that have failed or been interrupted.

System status audit

DDAudit: System Events [Now]

This data model provides the most recent system status for a given domain.

FieldDescription
eventIdUnique identifier for the system event.
eventTimeDate and time the system event was recorded.
memFreeAmount of free memory available on the system.
memTotalTotal amount of memory available on the system.
diskFreeFree disk space available at the time of the event.
diskTotalTotal disk capacity.
cpuProcessAvgAverage CPU usage by application processes.
cpuSystemAvgOverall average CPU utilisation by the system.
alertIndicates the presence of an alert relating to memory or disk status.
countConstant technical field (value = 1), used for aggregations.
Memory UsedThe difference between the maximum total memory used and the average free memory.
Memory Used %Ratio of memory used to total memory, expressed as a percentage.
Storage UsedThe difference between total disk space and free disk space.
Storage Used %The ratio of used storage to total storage.
Storage ActivityA measure of disk write activity based on changes in free storage over time.

DDAudit: System Events [30 Day]

Same structure as System Events [Now], but with no limit on the number of rows, enabling a 30-day historical analysis and the study of system trends.

Dashboard usage audit

DDAudit: Dashboard Usage

This template allows you to track users’ dashboard usage, without any filters.

FieldDescription
eventIdUnique identifier for the usage event.
eventTypeEvent type (e.g. page view).
pageIdUnique identifier for the dashboard page.
pageNameName of the dashboard page.
roleIdThe role or user profile that generated the event.
userUser (dd_user) who triggered the event.
eventTimeDate and time of the event.
domainDomain or environment to which the session belongs.
sessionIdIdentifier of the session associated with the event.
nbLinesEvent count

Dashboard Usage enhancements

  • DDAudit: Dashboard Usage + roleName: join with List of Roles
  • DDAudit: Dashboard Usage + roleName + pageName: addition of the page name from the Dashboard Pages list
  • DDAudit: Dashboard Usage Complete: final version with Role/Page hierarchy

Configuration Change Audit

DDAudit: Changes Config

This template tracks all configuration changes made to the system.

FieldDescription
eventIdUnique identifier for the change event.
userThe user who made the change.
eventTimeDate and time of the configuration change.
sessionIdThe session in which the change was made.
eventRepoNameType of object affected by the change (model, Flow, configuration, etc.).
eventObjectNameThe exact name of the modified object.
eventDetailDetails of the change made.

Cube audit

DDAudit: Cubes List

This template centralises all audit information relating to cubes.

FieldDescription
cubeIdUnique identifier for the cube.
dmIdIdentifier of the associated data model.
dmNameName of the data model associated with the cube.
cubeDateReference or generation date of the cube.
cubeFileSizeSize of the cube on disk.
cubeRowCountNumber of rows contained in the cube.
cubeStatusCube status. Possible values are as follows:
STATUS_UNKNOWN = 0
STATUS_OK = 1
STATUS_ERROR = -1
STATUS_BADFILEFORMAT = -2
STATUS_FILEIOERROR = -3
STATUS_DELETED = -4
refresherNameName of the process or user that refreshed the cube.
refreshTimeTotal time taken to refresh the cube.
refreshDSTimeTime spent querying the data sources.
refreshRowsTimeTime spent loading or recalculating rows.
lastErrorThe last error encountered during creation or refresh.
nbPartsNumber of partitions making up the cube.
roleIdSecurity role associated with the cube.
eventIdIdentifier of the audit event linked to the cube.
taskIdIdentifier of the task that executed the operation.
memoryMemory consumed by the cube when it is loaded.
nbCubesTotal number of cubes, calculated by counting the cubeId identifiers.
nbErrorsNumber of cubes with errors, calculated by counting the cubes whose `cubeStatus` corresponds to an error status (values between -4 and -1).
Average timeA performance metric calculated as the ratio of refreshTime to the number of rows returned by the data model.
Number of dmNameNumber of distinct data models (dmName).
No. of RowsTotal number of rows returned by the data models.

Cube Enrichments

  • DDAudit: Cubes List + dmName
  • DDAudit: Cubes and Data Models
  • DDAudit: Cubes and Data Models + roleName

These data models enable the analysis of cubes by data model and by role to obtain advanced statistics (min, max, median, quartiles of refresh times).

FieldDescription
Min Refresh TimeMinimum refresh time observed for a data model.
Max Refresh TimeMaximum refresh time observed.
Median Refresh TimeMedian value of the refresh time (a representative measure that is less sensitive to extreme values).
Q1 Refresh TimeFirst quartile of the refresh time (25 per cent of values are lower).
Q3 Refresh TimeThird quartile of the refresh time (75 per cent of values are lower).

Refresh flow audit

DDAudit: Flows Refresh

This data model enables you to monitor the execution of refresh flows and their impact on the cubes.

FieldDescription
eventIdUnique identifier for the refresh event.
eventTypeEvent type.
eventTimeDate and time of execution.
flowIdIdentifier of the executed flow.
flowNameName of the flow.
roleIdRole associated with the Flow.
userUser who triggered the Flow.
clientIdApplication that initiated the execution.
fireEventIdIdentifier of the triggering event.
deviceType of device or execution environment.
flowStatusFlow status. The possible statuses are as follows:
STATUS_OK = 1
STATUS_ERROR = -1
lastErrorLast error encountered.
taskIdIdentifier of the executing task.
cubeIdIdentifier of the affected cube.
dmId, dmNameAssociated data model.
cubeDate, cubeFileSize, cubeRowCount, nbPartsTechnical information about the cube.
memoryMemory used during the refresh.
nbItemsTotal number of events returned by the query.
nbErrorsNumber of errors detected during flow refreshes, calculated from events with an error status.
nbFlowsNumber of events related to refresh flows.
nbCubesNumber of events related to cubes affected by the flows.

DDAudit: Flow Refresh Errors

Filtered version of the previous model, retaining only:

  • flows with errors
  • errors associated with a specific cube

DDAudit: Flows Refresh Errors & List of Roles

This model is an extension of the DDAudit: Flows Refresh Errors model, enhanced by a join with the List of Roles. It enables each flow refresh error to be linked to the relevant role.

Audit of cube usage

DDAudit: Cubes Usage

This model enables the tracking of cube usage by users.

FieldDescription
cubeId, dmId, dmNameIdentification of the cube and its model.
roleIdRole associated with access to the cube.
userUser who performed the action.
eventTimeDate and time of use.
cubeRowCountNumber of rows in the cube at the time of access.
cubeStatusStatus of the cube at the time of use.
expandTimeExecution time of the expansion or query.
expandSizeVolume of data returned.
expandTypeType of expansion (API, export, checkDeviceCondition, dumpJson, dumpStruck #noLiveSec, excelExport, getMemberList, loadCube, loadCubePart, pptExport.).
fromCacheIndicates whether the response comes from the cache (1/0).
lastErrorLast error encountered whilst using the cube.
eventIdIdentifier of the usage event.
attributesAttributes requested during access.
The possible values are as follows:
  • CUBE_RESTRICTED_ATTR = "S" > if the cube selection contains restricted data (GDPR, etc.)
  • CUBE_PAGED_ATTR = "P" > if the cube selection is paginated (table)
  • CUBE_DISPLAYFILTER_ATTR = "Df" > if the cube selection uses a "displayFilter"
memoryMemory consumed to process the query.
eventCountTotal number of cube usage events.
No. of RowsTotal number of rows processed or returned when accessing the cubes.

Security audit

DDAudit: Security Events

This data model records events relating to platform security.

FieldDescription
eventIdUnique identifier for the security event.
eventNameType of event (login, access denied, change of permissions, etc.).
eventTimeDate and time of the event.
userUser who triggered the event.
targetResource or object targeted by the action.
isAdminIndicates whether the user has administrator privileges.
clientIdClient or application used.
sessionIdSession associated with the event.
detailsTechnical or functional details.
ipAddrSource IP address.
eventStatusEvent result.
The possible values are as follows:
STATUS_UNKNOWN = 0
STATUS_SUCCESS = 1
STATUS_FAILED = -1
lastErrorThe last error encountered.
countTechnical field used for aggregations.
nbLoginsNumber of events relating to user logins (authentication).
nbUserUpdatesNumber of events relating to changes to configuration or user profiles.

Summary

Data model

Main purpose

Key data (columns)

Calculated metrics

Main use cases

Related flows

Audit Cubes In-memory

Track cubes loaded into memory

cubeId, inMemory, memory, dmId, dmName, roleId, lastLoaded, lastUnloaded, cubeFileSize, cubeRowCount, nbParts

Number of models, Number of cubes

Memory monitoring, identification of memory-intensive cubes

  • Number of data models
  • Details: Number of data models in memory
  • Number of cubes
  • Details: Number of cubes in memory
  • Number of rows in the cubes
  • Details: Number of rows

DDAudit: Sessions List [now]

Monitor recent active sessions

user, clientId, userAgent, uABrand, uAVersion, uAOS, startTime, endTime, duration, sessionStatus, lastError, sessionId

nbUsers, nbSessions, nbSessionPerUser

User activity analysis, connection diagnostics

  • Number of users online
  • Details: Number of users online
  • Number of active sessions
  • Details: Number of active sessions

DDAudit: Sessions List

Complete session history

Same fields as Sessions List [now]

 

Post-incident analysis, comprehensive audit

  • Top 5 users
  • Sessions per hour
  • Users by date
  • Sessions by date

DDAudit: System Events [Now]

Latest system status

eventId, eventTime, memFree, memTotal, diskFree, diskTotal, cpuProcessAvg, cpuSystemAvg, alert

Memory Used, Memory Used %, Storage Used %, Storage Activity

Real-time monitoring

  • Memory Used

DDAudit: System Events [30 Days]

30-day system history

Same as System Events [Now]

 

Capacity analysis, saturation forecasting

  • CPU usage [30 days]
  • Memory usage [30 days]
  • Storage write activity [30 days]
  • Storage usage [30 days]

DDAudit: Dashboard Usage

Tracking dashboard usage

eventId, eventType, pageId, pageName, roleId, user, eventTime, domain, sessionId

nbLines

Dashboard popularity analysis

 

DDAudit: Dashboard Usage + roleName

Add the business interpretation of roles

Dashboard Usage + Role (name) fields

 

 

 

DDAudit: Dashboard Usage + roleName + pageName

Complete view of role / page

Enriched previous fields

 

 

 

DDAudit: Dashboard Usage Complete

Final role/page hierarchy

Role + Page + Usage

 

Detailed usage reporting

  • Number of page views
  • Number of pages viewed by role

DDAudit: Configuration Changes

Trace configuration changes

eventId, user, eventTime, sessionId, eventRepoName, eventObjectName, eventDetail

 

Compliance audit, investigation

List of user actions

DDAudit: Cubes List

Overall cube monitoring

cubeId, dmId, dmName, cubeDate, cubeStatus, refreshTime, lastError, nbParts, memory, taskId

nbCubes, nbErrors, Average refresh time

Cube monitoring, performance

 

DDAudit: Cubes List + dmName

Analysis by data model

Enriched Cubes List fields

 

Volumetric analysis by model

 

DDAudit: Cubes and Data Models

Cleaning cubes without a model

Cube and Data Model Fields

 

Data quality

 

DDAudit: Cubes and Data Models + roleName

Advanced statistics by role

Previous fields + Role (name)

Min / Max / Median / Quartiles Refresh time

Performance benchmark

  • Average cube generation time per data model
  • Cube RowsTime
  • Cube DSTime
  • Average refresh time by data model

DDAudit: Flows Refresh

Track flow refreshes

flowId, flowName, flowStatus, user, clientId, eventTime, cubeId, dmId, cubeRowCount, memory

nbFlows, nbErrors, nbCubes

Flow monitoring, error diagnostics

 

DDAudit: Flow Refresh Errors

Targeted analysis of flow errors

Filtered Flows Refresh fields

Number of errors

Analysis of failures

 

DDAudit: Flows Refresh Errors & List of Roles

Targeted analysis of flow errors by role

 

 

 

  • Number of errors by type
  • Number of errors by data model
  • List of loading errors

DDAudit: Cubes Usage

Tracking cube usage

cubeId, dmId, roleId, user, eventTime, expandTime, expandSize, expandType, fromCache, lastError, memory

eventCount, No. of rows

User load analysis

Cube usage

DDAudit: Security Events

Tracing security events

eventId, eventName, eventTime, user, target, isAdmin, clientId, ipAddr, eventStatus, lastError

nbLogins, nbUserUpdates

Security audit, anomaly detection

Security events

List of data models

List of data models

Data model (internal ID), Data model (name)

Number of models

 

 

List of Dashboard Pages

List of dashboard pages

Dashboard page (internal ID), Dashboard page (name)

 

 

 

List of Roles

List of Roles

Role (internal ID), Role (name)