Audit Log
Contents
Description
The “Audit logs” section is used to check user actions with data (Figure 1). The log registers and stores events - actions performed by a user in relation to any record or group of entity/lookup entity records. Events can be connected by a single operation (for example, within batch data processing).
Figure 1 - Audit log view
Navigation Bar
At the bottom of the screen, there is a panel with a button to update the results, a page switching element and a drop-down list to select the number of records displayed on the page (Figure 2).
Figure 2 - Page navigation bar
Column Setup
To customize the display of the log columns, click the “Columns setup” button in the upper right corner of the table. This will open a drop-down menu with a list of columns (Figure 3).
Set the checkboxes for the columns you want to display in the table, or use the “Enable All” checkbox.
Figure 3 - Column Setup
Sorting Log
- Click the
“Filter” icon located to the right of the column header and set one or more filters in the field that appears. Depending on the column, the field may take the form of a drop-down list, a date selection item, a text field, etc. For example, enter the user's login and select the type of event.
- Click “Apply ”. As a result of the action, the table will be filtered by the specified parameters and the “Filter” icon will change to blue.
- You can enable or disable all the specified filters simultaneously by pressing the Filters Off button in the upper right corner of the table. As a result, the button will change its appearance to blue Filters on (_). The number of applied filters will be shown in brackets.
- To reset the filtering parameters, press the
“Reset filters” button.
Cleaning Log
A background operation of periodic log cleaning is available. The administrator can enable/disable the operation, configure the periodicity of launching and set the retention period of the audit file.
The operation is configured in the <UNIDATA_CONF_DIR>/backend.properties file (clean.old.audit.data.job.xxx parameters).
Exporting Log Data
Log data can be exported to an Excel file (.xlsx). If the log is filtered, for example, the display of rows with the “Change record” event type is enabled, the export results will also contain only rows with the specified type of event. To export, click the “Export” button in the upper right corner of the screen. Once the report is generated, the results are available in notifications.
The table below shows the correspondence of the fields by event type to decrypt the contents of the report.
Column “Event type” in Excel | Event type in interface |
---|---|
COMPLETE_WF_TASK | Completing the workflow task |
CREATE | Account creation |
DATA_DELETE_CLASSIFIER | Deleting the classifier |
DATA_DELETE_RELATION | Deleting the relation |
DATA_UPDATE_ACTION | Editing a record |
DATA_UPSERT_CLASSIFIER | Adding / editing a classifier |
DATA_INSERT_ACTION | Adding a record |
DELETE | Deleting a record |
GET | Opening a record card |
LOGIN | User login |
LOGOUT | User logout |
MERGE | Merging multiple records |
META_DRAFT_APPLY | Publishing the draft data model |
META_DRAFT_REMOVE | Deleting the draft mode data model |
META_DRAFT_DELETE_ELEMENT | Deleting the data model element in the draft mode |
META_MODEL_IMPORT | Data model import |
MODEL_UPSERT | Actions on the draft mode data model |
NO_ACTION | Other action |
RELATION_INSERT_ACTION | Add relation |
RELATION_UPDATE_ACTION | Edit relation |
RESTORE | Restore a record |
RESTORE_PERIOD | Restore an actual validity period |
SPLIT | Detach a record from the source records screen |
UPDATE | Update your account |