Magento 2 Admin Action Log

Installation and User Guide for Magento 2 Admin Activity Logger Extension

Table of Contents

  1. Installation

    • Download Extension

    • Installation via app/code

    • Installation via Composer

  2. Configuration Settings for Admin Activity Logger

    • General Settings

    • Modules Activity Logger

    • Admin Activity Logger

    • Admin Activity Grid

    • Admin Logger Detailed View for Admin Activities

    • Admin Logger Detailed View for Item Info

    • Login Activity Grid

    • Active Sessions Grid

Installation

  • Download Extension: Once you have placed the order from our site then go to Account section and click on My Downloadable Products and download the extension package.

  • Installation via app/code: Upload the content of the module to your root folder. This will not overwrite the existing Magento folder or files, only the new contents will be added. After the successful upload of the package, run below commands on Magento 2 root directory.

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
  • Installation via Composer: Please follow the guide provided in the below link to complete the installation via composer.

Configuration Settings for Security Base

Go to Admin > Stores > Configuration > Scommerce Configuration > Security Base

General Settings

  • Enabled – Select “Yes” or “No” to enable or disable the module.

  • License Key – Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at support@scommerce-mage.com.

Configuration Settings for Admin Activity Logger

Go to Admin > Stores > Configuration > Scommerce Configuration > Admin Activity Logger

General Settings

  • Enabled - Select “Yes” or “No” to enable or disable the module.

  • License Key - Please add the license for the extension which is provided in the order confirmation email. Please note license keys are site URL specific. If you require license keys for dev/staging sites then please email us at core@scommerce-mage.com

  • Admin Users Login Activity Enabled - Enable / Disable activity. It will log login activity of the admin users.

  • Page visit History Enabled - Enable / Disable page history visiting log.

  • Clear Admin Activity Logs After - Enter value. Clear all admin activity logs will be cleared after X days.

  • Enabled Profiler - Enable / Disable time profiler. Duration of the operations will be logged.

Modules Activity Logger

  • Order - Select “Yes” to enable. It will log order related activities.

  • Product - Select “Yes” to enable. It will log product related activities.

  • Category - Select “Yes” to enable. It will log category related activities.

  • Customer - Select “Yes” to enable. It will log customer related activities.

  • Email Template - Select “Yes” to enable.

  • Page - Select “Yes” or “No” to Enable / Disable.

  • Block - Select “Yes” or “No” to Enable / Disable.

  • Widget - Select “Yes” or “No” to Enable / Disable.

  • Theme - Select “Yes or “No” to Enable / Disable.

  • System Configuration - Select “Yes” or “No” to Enable / Disable.

  • Product Attributes - Select “Yes” or “No” to Enable / Disable.

  • Admin User - Select “Yes” to enable. It will log all users activities.

  • SEO - Select “Yes” or “No” to Enable / Disable.

  • Admin Activity Logger - You can view admin activity logger from, Admin > System > Scommerce Admin Activity Logger > Admin Activity / Login Activity.

  • Admin Activity Grid - In the back-end under Admin Activity Logger grid you can view all the admin activities details from Admin > System > Admin Activity Logger. This grid will have, Admin Username, Name, Activity Type, Store View, Module, Full Action, IP, Item, Revert and Action columns.

    • Date: - The exact date and time of the activity performed.

    • Admin Username: - user name of the admin.

    • Name: - The name of the admin.

    • Activity Type: - Type of activity performed

    • Store view: - Name of the store view

    • Module: - The name of the module used in the activity.

    • Full Action: - It contains the URL path of the activity performed.

    • IP Address: - The IP address of the user.

    • Item: - Activity related item such as a product or system configuration changes.

    • Revert: - If the action is not complete then the REVERT column will have the notification.

    • Action: - It contains view where you can see the key details of the activity such as general and item info.

Admin Activity Logger

  • Admin Logger Detailed View for Admin Activities - To get more details about each particular action simply click on the 'View' link from Admin > System > Admin Activity Logger > Select Log > Click on 'View' > General, to view all the detailed data.

    • You can view all the general details of the user’s activity in the general tab.

  • Admin Logger Detailed View for Item Info - You can view the item details from Admin > System > Admin Activity Logger > Select Log > Click on 'View' > Items info.

    • This section contains all granular information. For instance if you place an order from the admin panel then all the details of the order such as price, store, etc. Are visible in this section.

  • Login Activity Grid - You can view login activities from Admin > System > Scommerce Admin Activity Logger > Active Sessions. It logs details of each and every single activity along with what value being changed by who and when. This section contains following information: -

    • Date: - The precise date and time of the log.

    • Type: - whether logged in or logged out.

    • Username: - Username of the person is stored here.

    • Name: - Name of the user

    • Ip Address: - You can see the IP address here.

    • User Agent: - The browser and device details of the user are shown here.

    • Status: - If the login fails then the status will show FAILED and if the login or logout is successful then it shows SUCCESS

  • Active Sessions Grid- You can view Active Sessions from Admin > System > Login Activity > Login Acti. It logs details of every active admin session on the store. The active session is listed with various useful details. Also, it gives the admin the option to terminate any active admin session through the "Terminate" button under the action column. Once terminated that admin will be logged out of the account automatically. Furthermore, the grid is completely filterable using various columns. This section contains the following information: -

    • Id: - A Unique ID for each active session.

    • Admin Username: - Username of the admin of that particular active session.

    • IP: - IP address of the admin of that session.

    • Last Action: - Last action performed by the admin of this session.

    • User Agent: - Various platform, device, and browser information of the admin of this session.

    • Action: - Contains the option to terminate this particular session.

If you have a question related to this extension please check out our FAQ Section first. If you can't find the answer you are looking for then please contact support@scommerce-mage.com.

Last updated