Audit logs
All actions that take place in your SCAYLE Panel are logged and can be viewed on the Audit Logs page.
Audit logs provide a record of all system activity and can be important for troubleshooting and security.
Use audit logs to:
- Trace a system action to a user or role.
- Find the date and time when a system change occurred.
- Find the IP address of a computer used to make a change.
View Audit logs in the SCAYLE Panel:
- Go to:
Settings > General > Audit Logs
.
On the Audit Logs page, each Log Entry is listed with the following:
- ID or unique identifier for each log entry.
- Key (e.g.,
product.update
,user.delete
, etc.). - Action (e.g., create, update, delete, etc.).
- Model ID (identifier for the type of action. E.g., all actions under path
App\Models\User
have Model ID 441.). - User who initiated the system action.
- Provider ("Core" or Add-on name). For adding audit log entries via the Add-on API, see the createAuditLogs endpoint.
- Role of the user.
- Created date and time of the system action.
Audit Log Entry
To view a complete Audit Log Entry click on either the ID or Key.
- Click the Data-Full tab to view JSON keys/values associated with the object changed in the system. If applicable, it will display the object Before and After the update.
- Click Data-Diff to display differences between Before and After.
- Click Request to view all of the data sent with the server request for the associated action.
Audit Log Search and Filter
You can search the Audit Logs using the search bar or filter icon above the list of audit logs. Filters are available for:
- Key
- Action
- Model IDs
- Provider
To clear a filter click Clear filters in the top right.
Audit Log Auto Deletion
Audit logs are automatically deleted after a set time period, according to the type. The deletion times are as follows:
- Shop Related: after 14 days
- Product Related: after 14 days *Add-on Related: after 90 Days
- User Related: after 365 days
- All others: after 365 days