Audit log

Audit log

Audit log is a collector function that collects audit data from all available streams in a Usage Engine account.

auditlogfullscreen.png

The audit data of an account are collected in the following fields.

Field

Description

Field

Description

streamId

The stream ID of the streams run by the account.

streamName

The stream name of the streams run by the account.

solutionName

The solution name that the stream is in.

startTime

The start time when the stream started its run.

endTime

The end time when the stream ended its run.

executionId

The execution ID of the stream run.

origin

The function ID in the stream.

COUNT_INPUT

The number of records collected in the payload.

PROCESS_TIME

The duration to collect all the records in the payload.

COUNT_OUTPUT

The number of records produced as output in the payload.

COUNT_DUPLICATE

The number of duplicated records in the payload. This value only shows if there is a Deduplicate function in the stream.

COUNT_REJECTED

The number of records that are rejected and sent to Data correction.

You may add additional audit fields to collect with the Script function. See Script for more information.

The audit logs collected by the Audit log function are transaction-safe. Once the Audit log function has collected audit data, it places a checkpoint at where the latest audit data was collected. Therefore, when running the stream with the Audit log function again, for example in the event of a stream failure during a previous run, will not lead to duplicated audit data being collected from the last checkpoint.

You can also view the audit logs in the Audit dashboard.

Collected audit data can be exported to external databases or business intelligence systems using a forwarder function later in the stream.


This section has the following subsections: