Get audit log statistics

Retrieve aggregated audit log statistics for your organization including total counts, activity breakdowns, and service distributions.

Response Fields

FieldTypeDescription
totalLogsnumberTotal audit log entries (all time)
recentActivitynumberEntries in the last 24 hours
byServiceobjectLog counts grouped by originating service
byEventTypeobjectLog counts grouped by event type

By Service Object

FieldTypeDescription
cw-transaction-orchnumberTransaction orchestrator events
cw-wallet-transactionsnumberTransaction service events
cw-wallet-backendnumberBackend service events
cw-wallet-policiesnumberPolicy service events

By Event Type Object

FieldTypeDescription
TRANSACTION_CREATEDnumberTransaction creation events
TRANSACTION_CONFIRMEDnumberTransaction confirmation events
WORKFLOW_STARTEDnumberWorkflow start events
WORKFLOW_COMPLETEDnumberWorkflow completion events
POLICY_EVALUATEDnumberPolicy evaluation events

Use Cases

  • Build audit overview dashboards
  • Monitor system activity levels
  • Track service-specific event volumes
  • Identify activity patterns
  • Capacity planning and monitoring

Required Permission

audit:read