Magento 2 Admin Action Log
Magento 2 admins can perform all the administrative actions in the online store and can make changes as per the requirement. If your online store is big enough, you may require to hire multiple admins and divide the administrative work amongst them. In such cases, the store owners or super admin may require to keep track of all the actions performed by admins. However, this is not possible with the basic version of Magento 2. Therefore, Meetanshi has developed Magento 2 Admin Action Log extension to allow the store owners to keep track of all the admin action logs and revert the unnecessary ones.
Magento 2 admins can perform all the administrative actions in the online store and can make changes as per the requirement. If your online store is big enough, you may require to hire multiple admins and divide the administrative work amongst them.
In such cases, the store owners or super admin may require to keep track of all the actions performed by admins. However, this is not possible with the basic version of Magento 2. Therefore, Meetanshi has developed Magento 2 Admin Action Log extension to allow the store owners to keep track of all the admin action logs and revert the unnecessary ones.
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Admin Action Log for Magento 2
User Guide
1. Extension Installation Guide
2. Configuration
3. Email Notification Settings
4. Admin Action Logs in Backend
5. Login Attempts
6. Page Visit History
7. Active Admin Sessions
Table of Contents
Admin Action Log for Magento 2
© Meetanshi
1. Extension Installation
• For Magento Marketplace Customers
o Find the Composer name and version of the extension in the
extension’s composer.json file.
o Login to your SSH and run:
• composer require meetanshi/magento2-admin-action-log
o Enter your authentication keys. Your public key is your username; your private key is your
password.
o Wait for Composer to finish updating your project dependencies and make sure there
aren’t any errors.
o To verify that the extension installed properly, run the command:
• php bin/magento module:status Meetanshi_AdminActionLog
o By default, the extension is probably disabled.
o Enable the extension and clear static view files:
• php bin/magento module:enable Meetanshi_AdminActionLog --clear-static-content
• php bin/magento setup:upgrade
• For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
• For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
• php bin/magento cache:flush
• For Meetanshi Customers
o Extract the zip folder and upload our extension to the root of your Magento 2 directory via
FTP.
o Login to your SSH and run below commands step by step:
• php bin/magento setup:upgrade
• For Magento version 2.0.x to 2.1.x - php bin/magento setup:static-content:deploy
• For Magento version 2.2.x & above - php bin/magento setup:static-content:deploy –f
• php bin/magento cache:flush
Admin Action Log for Magento 2
© Meetanshi
2. Configuration
To configure the extension, log in to Magento 2, move to Admin Action Log → Configuration
where you can find various settings to configure the extension.
• Admin Action Log: Enable or disable the Admin Action Log extension.
• Automatically Clear Action Logs after .... Days: Enter number of days after which you
wish the extension to automatically clear the action logs.
• Select Objects to Log: Select all the objects for which you want to log actions.
• Restore Settings Warning Text: Enter custom message that you want to display to the
admin while restoring the admin actions.
• Save Page Visit History: Set YES to enable page visit history log for various admin users.
Admin Action Log for Magento 2
© Meetanshi
3. Email Notification Settings
The extension also allows the admin users to get notified about the login attempts via email.
Configure various settings to send email notifications on successful or failed login attempts.
• Email Sender: Select the email sender from the drop-down menu to send emails to the main
admin on successful logins.
• Send Email Copy To: Select the admin users whom you want to send email notifications on
successful or failed admin login attempts.
• Login Success Email Template: Select template to send email notification for successful
login attempts by the admin users.
• Login Failure Email Template: Select template to send email notification for failed login
attempts by the admin users.
Admin Action Log for Magento 2
© Meetanshi
• Login Success Email to Admin
• Login Failure Email to Admin
Admin Action Log for Magento 2
© Meetanshi
4. Admin Action Logs in Backend
All the activities of various admin users get stored at Admin Action Log → Actions Log grid in
the backend with the details like date of action performed, user name of the admin, IP address,
action performed, object for which the action is performed, specific object, action type and store
views. The admin can also export the actions log in CSV or XML format.
• Restore Admin Actions
On click of “View” action from the Actions log grid, detailed action details are shown with the
old and new values. The admin can click “Restore” button to restore the recent changes done
by the admin user.
Admin Action Log for Magento 2
© Meetanshi
5. Login Attempts
Move to Admin Action Log → Login Attempts grid in the backend to get complete details of
login attempts by the admin users. The grid stores the details like date and time of login, user
name, full name, IP address, user agent, status and user ID. The admin can also export the login
attempt logs in CSV or XML file.
Admin Action Log for Magento 2
© Meetanshi
6. Page Visit History
Using Admin Action Log extension, the admin can also keep track of admin users’ page
visit history. Move to Admin Action Log → Page Visit History where you can see page visit
history details such as user name, full name, IP address, session start date and time,
session end date and time.
• Click “Show History” button from the page visit history grid to view details like page name,
page URL and stay duration of the admin user on the particular page.
Admin Action Log for Magento 2
© Meetanshi
7. Active Admin Sessions
Move to Admin Action Log → Active Sessions to view currently active admin. The grid
provides complete details of the active admin sessions such as user name, full name, date and
time of login, IP address, user ID, and recent activity performed.
Admin can choose to terminate an active session or disable account of the admin user by clicking
“Terminate Session” and “Disable Account” action respectively.
Admin Action Log for Magento 2
© Meetanshi