Project Auditing
Ignition supports audit logs for your project. An audit log will record to a database the interactions that your users have with tags and databases. An Ignition Gateway can have more than one audit log but a project can only have one of these audit logs. Multiple projects can feed into a single audit log. When an audit log is active on a project data is written into a database. Ignition configures the database table for you. The following table describes the audit table as it exist in the database:
Column Name |
Description |
AUDIT_EVENTS_ID |
The id of the row. |
ACTION |
Brief description of the action. |
ACTION_TARGET |
The target of the action. |
ACTION_VALUE |
The value acted upon the action target. |
ACTOR |
The logged in user when the action occurred or a description of the system that generated the action. |
ACTOR_HOST |
The host computer where the action occurred. |
EVENT_TIMESTAMP |
The time when the action occurred. |
ORIGINATING_CONTEXT |
A numerical description of the origin of the originating system. gateway = 1, designer = 2, client = 4 |
ORIGINATING_SYSTEM |
The name of the project or system where this action occurred. |
STATUS_CODE |
The OPC quality code where 192 signifies success. 0 signifies bad or failure. |
To create an audit log
-
Go to the C onfigure section of the Gateway.
-
Choose Security > Auditing from the menu on the left.
The Audit Profiles page is displayed. -
Click the Create a new Audit Profile link.
-
Select Database and click Next.
-
Enter the Name of the audit log and the Retention time.
-
Under the Database Settings, select the Database where the table will be stored, select the Auto Create check box, and enter the desired Table Name.
-
Click Create New Audit Profile.
To use an audit log
-
Go to the Designer, open the project that you want to enable auditing on, and go to Project > Properties.
-
Go to the General section, select the Enable Auditing check box, and select the Audit Profile from the drop-down menu. If the new audit profile does not show up, click Refresh.
-
Click OK.
-
Save your Project.