Audit logs and log notifications
Find out who changed what in your company, restore an earlier version, and get notified when certain changes happen.
What the audit log records
The audit log lists every change to your company's configuration, every change of state, and user actions such as sign-ins, exports and access to sites. For each entry you see what changed, the action, who did it, when, and whether it was company-wide or on a site or site group.
The audit log is about settings and people. Alarms and device messages are in the event logs instead, see Handling alarms.
To see the audit log, your role needs the permission to read logs.
Find a change in the audit log
To find a change, go to Company › Audit Logs.
- Set the date range. It starts with the last 30 days.
- Narrow the list if you like: by type (configuration change, state change or user action), by action, by resource type, by user, or by site and site group. You can also search by the ID or name of a resource.
The newest entries are at the top. The list updates on its own while it is open.
Restore an earlier version
Many entries let you see the history of what was changed, for example a contact, a schedule, a workflow or a site's settings.
To restore an earlier version, go to Company › Audit Logs.
- Click the entry. The version history opens.
- Select a version. Compare it with the current one if you like.
- Click Restore selected version.
You can also restore a deleted site this way: click the entry of its deletion and restore a version of its settings. You need the permission to change sites.
Entries for user actions, such as sign-ins, have no history and can't be clicked.
The Legacy Logs tab
Company › Legacy Logs shows the older activity log of your company. You can search it by user or info, filter it by date range and by operation, and click an entry to see its details. For new investigations, use the audit log.
Create a log notification rule
A log notification rule sends you a message when a certain action is logged, for example when someone changes a contact.
To create a rule, go to Company › Settings › Legacy Logs.
-
Under Legacy Log Notification Rules, click Add Rule.
-
Set Rule Name: enter a name, for example "Contact Changes".
-
Select Log Category: select what the rule watches, for example contacts or sites.
-
Select Log Operation: select one or more operations.
-
Set Conditions (optional): click Add Condition to narrow the rule by Day of week, Field, Operator name is like or Updated field. Choose whether All or Any of them must match. Select Invert on a condition to turn it into its opposite.
-
Set Notification Channels: select one or more and fill in what each needs:
Channel You enter Email Email addresses, separated by commas Twilio SMS Notifications Phone numbers starting with +, separated by commas. Needs the Twilio integration.Slack Notifications Nothing. Needs the Slack integration. Alarm An alarm expression and the site to raise the alarm on, see Alarm expressions Webhook The URL to call, starting with http://orhttps:// -
Click Save.
Choose the category and operations first, and add conditions last. Changing the operations removes conditions you already added.
Turn a rule off or delete it
To change a rule, go to Company › Settings › Legacy Logs and click the rule. Make your changes and click Save.
To pause a rule, open its menu and click Disable rule. Click Enable rule to turn it back on. To delete it, click Delete rule and confirm.