Viewing Audit Logs

Reviewing the audit logs in Strapi.

Audit Logs 企业版

The Audit Logs section provides a searchable and filterable display of all activities performed by users of the Strapi application.

Audit logs are only accessible to users with the Super Admin role by default. They are available in the Administration Panel section of the Settings panel.

图片加载....

Events logged

The following events are logged:

EventActions
Content Typecreate, update, delete
Entry (draft/publish)create, update, delete, publish, unpublish
Mediacreate, update, delete
Login / Logoutsuccess, fail
Role / Permissioncreate, update, delete
Usercreate, update, delete

For each log item the following information is displayed:

  • Action: The type of action performed by the user. For example create or update.
  • Date: The date and time of the action.
  • User: The user who performed the action.
  • Details: Displays a modal with more details about the action. For example the User IP address, the request body, or the response body.

Filtering logs

The Audit Logs page displays all logs by default, in reverse chronological order. You can filter the logs by:

  • Action: Select the type of action to filter by. For example create or update.
  • User: Select the user to filter by.
  • Date: Select a date (range) and time to filter by.

图片加载....

Log details

For any log item, click the Details icon to display a modal with more details about that action.

图片加载....

The Payload details are displayed in an interactive JSON component, enabling you to expand and collapse the JSON object.