User Tools

Site Tools


Sidebar

magento_2:admin_actions_log

For more details see the Admin Actions Log extension page.

Guide for Admin Actions Log for Magento 2

Enable the detailed tracking of all backend actions performed by store administrators. Check log history and login attempts on the special grid and improve your backend users performance with the help of the real-time tracking mode.

  • Log actions of all admin users
  • Save log details for a predefined period of time
  • Record the backend login attempts
  • Check admin actions in real-time
  • Get the detailed page view history

General Settings

To configure general extension settings, please go to Stores → Configuration → Amasty Extensions → Admin Actions Log.

Log Settings

Expand the Log Settings section.

Enable Page Visit History — set this option to Yes if you want to collect history of all pages, visited by the administrators;

Log Actions For All Admin Users — set this option to Yes to keep track of all admin actions. If you are only interested in actions of certain administrators, choose No;

Admin Users To Log Actions For - specify the particular users whose actions will be logged;

Automatically Clear Action Logs After, Days — specify the number of days after which all action logs would be automatically deleted; Automatically Clear Login Attempts After, Days — specify the number of days after which all login attempts would be automatically deleted;

Automatically Clear Page History Log, Days — specify the number of days after which all page history would be automatically deleted. Set 0 for unlimited number of days.

Geolocation

Use GeoIP — enable or disable GeoIP support to determine the country and city from which admin users get logged in.

Database Installation

To install the Admin Actions Log database, go to Stores → Configuration → Amasty Extensions → GeoIP Data.

Databases are required if you want to use Geo IP option. Also you need to install php bcmath or gmp extension on your server.

You can get the databases automatically or import your own data.

Hit the Download and Import button to make the extension download the updated CSV dump file and import it into your database automatically.

To import the files from your own source, use the Import option. Path to the files should look like this (the part 'var/amasty' should be replaced with your folders’ names):

var/amasty/geoip/GeoLite2-City-Blocks-IPv4.csv 
var/amasty/geoip/GeoLite2-City-Blocks-IPv6.csv 
var/amasty/geoip/GeoLite2-City-Locations-en.csv
In the Import section, the Import button is grayed out by default. It will be available right after you upload the CSV files. The red error notification will switch to green success notification when the import is completed.

Restore Settings

Next, please expand the Restore Settings section.

Popup Warning Text — fill in the warning message for the Restore feature.

Email Notifications

With the extension, you can get notifications about Successful, Unsuccessful, and Suspicious admin panel login attempts. To enable any type of notifications, please expand the corresponding section and configure the following options:

Enabled — enable or disable a certain notification type;

Select Email Template — choose the email template to use for notifications;

Send to Email — specify the email address to send notifications to.

Easily manage multi-vendor stores by assigning custom role permissions to specific managers. Let them see and edit only particular products, categories, store views and websites with Magento 2 Advanced Permissions extension.

Actions Log

To see the Action Log of all administrators, please go to System → Admin Actions Log → Actions Log. The actions are logged only for the users you specified on the General Settings page.

In the Action Log table you can find the following details:

  • Date;
  • Username;
  • Full Name;
  • Action Type;
  • Object;
  • Store View;
  • Item;
  • Actions.

Click Preview Changes in the Actions column to see the brief info about the action which has been performed by the user.

Click View Details in the Actions column and switch to the Modifications Breakdown tab to see the details of an action.

You can use the Restore Changes button to cancel all changes of this action.

Then, a pop-up window should appear to confirm aborting the changes.

You can modify the pop-up message in the General Settings.

Active Sessions

To view administrator sessions that are active right now, please go to System → Admin Actions Log → Active Sessions.

In the table you can find the following information:

  • Username;
  • Full Name;
  • Logged In At;
  • IP Address;
  • Location (see the General Settings section to enable this column);
  • Recent Activity;
  • Actions.

Hit the Terminate Session link in the Actions column to terminate any session if necessary.

Login Attempts Log

To access the Login Attempts grid, please go to System → Admin Actions Log → Login Attempts.

On the grid you can find the following details:

  • Date;
  • Username;
  • Full Name;
  • IP Address;
  • Location;
  • User Agent;
  • Status.

Generally, each store administrator can have one of three available statuses:

Success — this status appears when a user is successfully logged in to the admin panel;

Logout — this status appears when a user is successfully logged out from the admin panel;

Failed — this status is shown when the person tries to log in with a wrong username or password.

You can filter the information on the Login Attempts grid by all available columns.

Page Visit History

To see the history of pages visited by all administrators please go to System → Admin Actions Log → Page Visit History.

Actions are logged only for the users you specified on the General Settings page.

On the grid you can find the following details:

  • Username;
  • Full Name;
  • Session Start;
  • Session End;
  • IP Address;
  • Location (see the General Settings section to enable this column).

Click the the admin user’s name to see the details.

Please switch to the Visits History tab to view the details of the session. You can see Page Name, URL address and the exact duration of staying on this page.

Changes History

The new History of Changes tab is available for product, customer and order info pages.

You can preview each particular page modification or view its details via Select button. On top of that, you can restore recent changes using the Restore Changes button in the detailed view.

Cron Tasks List

Magento 2 Admin Actions Log extension is preintegrated with Cron Tasks List to provide store owners with an opportunity to track and manage all cron tasks running in the website background.

To view all scheduled and executed cron tasks, go to System → Cron Tasks List

Run all cron tasks and generate their schedule by clicking the ‘Run Cron’ button. Also you can delete separate tasks in bulk, apply filtering and sorting options when it is needed.


Find out how to install the Admin Actions Log extension via Composer.
Rate the user guide
 stars  from 1 votes (Details)
magento_2/admin_actions_log.txt · Last modified: 2019/07/22 13:57 by skudrov