Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Feature Description

Runtime Functionalities

The audit log is used to keep keeps track of all user actions that occur during runtime. Any action that a user takesactivity, such as changing a tag value and logging in, will be tracked in the audit log. The audit log table shows all of the actions users take in the form of a time, description, target, value, and the user.

Table of ContentsminLevel1maxLevel4includeoutlinefalseindentexcludeFeature Descriptiontypelistclassprintabletrue

Designer Functionalities

Designer Functionalities

Users must first enable the audit logger in the Project Properties to set up the audit log table. To do this, go to File > Project Properties, scroll to Audit Log, and check Enable. Once this is checked, users can begin using the Audit Log Table.

Info

Any database other than SQLite will store data using an external SQL database which must be set up and configured outside of Canvas. This will require a valid connection between the Xpanel and the SQL server. A database named “audit_event_database” must be on the SQL server.

Image Added

Audit Log Table

Go to Insert > Audit Log Table to insert an audit log table. Once selected, click and drag to the desired size. The audit log table will look like the image on the right:

This page will show the time, description, target, value, and the user who made the change when a user action causes a change in the program.

Image Added

Runtime Functionalities

To update the audit log, users must click on the Search button. Once the search button is clicked, it will show all actions users have taken since runtime has started. Users can also click Export to a CSV as well. Users can also search for a specific user and only show actions that occurred when a particular user was signed in.

Image Added