Back to Top

Guide for Magento 2 Admin Action Logs

Updated 13 March 2024

Magento 2 Admin Action Logs extension tracks and records administrative actions performed within the admin panel thereby providing a comprehensive audit trail for user activities.

The admin can check the various logs for the admin, sub-admin user, product, category, and users of the Magento 2 store. The admin sub-users can also view the logs.

View the login/logout details of his backend account and any sub-users created. Apart from that, the admin can view the product and the categories(add, edit, delete) log.

Also, the admin can also view the customer edit logs in a particular section assigned for the same.

Features

Admin:

Searching for an experienced
Magento 2 Company ?
Find out More
  • View the admin login, logout, and failed details in a grid.
  • View the product’s add, edit and delete details in a grid.
  • View the customer edit logs in a grid.
  • Export logs in a CSV file.
  • Delete the logs.
  • Enable/disable the module from configuration.
  • Enabled Action from configuration to manage record logs.

Installation

#Download Module

Firstly, you need to log in to Webkul Store, go to My Account>My Purchased Products section, verify and then download and extract the contents of this zip folder on the system.

#Upload Folder

Once the module zip extracts, follow path src>app and then copy the app folder into the Magento 2 root directory on the server as shown below:

Magento 2 Admin Action Logs

#3 Run Commands

You need to run the following commands:

  • php bin/magento setup:upgrade
  • php bin/magento setup:di:compile
  • php bin/magento setup:static-content:deploy
  • php bin/magento indexer:reindex
  • php bin/magento cache:flush

Language Translation

For translating the module language, navigate through src/app/code/Webkul/AdminActionLogs/i18n and edit the en_US.csv file. Thereafter, rename the CSV as “en_SA.csv” and translate all right side content after the comma in the Arabic language. After editing the CSV, save it.

Magento 2 Admin Action Logs

Now, upload it to the path src/app/code/Webkul/AdminActionLogs/i18n where the installation of Magento 2 is on the server. The module translates into the Arabic Language. It supports both RTL and LTR languages.

The user can edit the CSV like the image below.

Magento 2 Admin Action Logs i18 file

Initial Configuration – Admin Action Logs

After the successful installation of the extension, the admin will navigate through Stores->Configuration-> Admin Action Logging.

Magento 2 Admin Action Logs initial configuration settings

Logging Configuration Admin Action Logs:

Here, the admin will –

  • Status – Enable the status of the extension so that it appears in the side panel of the admin.
  • Enable actions – The admin can choose the logging for the admin login, catalog, and customers as required. For the options selected here, the logs will be available.

Lastly, save the configuration settings by tapping the Save config button at the top right-hand corner.

Admin Log Options

After enabling the extension from the configuration settings, the admin will be able to see the extension options on the side panel as per the snapshot below.

Screenshot-2-4

Action log Details

Under this section, the admin can see the complete log for the admin, sub-admin user, products, categories, and users. The admin can see the user, the log time, the IP address, the action performed, the type of activity, and the status for each.

Magento 2 Admin Action Logs

Apart from that, the admin can also delete the logs as required in bulk.

192.168.15.47_EE246-p1_pub_admin_action_log_index_key_86b769dcf590d645d2187f4d3e7ba1ee0917e2cb34e77f2fe0a8f80603367a47_asd-1-2

The admin can also export the complete log data via a CSV or XML file as required.

192.168.15.47_EE246-p1_pub_admin_action_log_index_key_7a0ddc7829d9b0419135e95cee1d116ee535c298d50553fd00310865028422c0_asd

After export, the admin can view the data in the respective file format.

CSV file format:

4-2

XML file format:

5-3

Admin Session Details

Under this section, the admin can see the login details for himself and for the admin sub-users that the admin has created.

192.168.15.47_EE246-p1_pub_admin_action_login_details_key_a11a9c4296db95ba89b358eee30447f9feda0dc9a887843a82c4f2573e00b33f_asd

Apart from that, the admin can also delete the logs as required in bulk.

192.168.15.47_EE246-p1_pub_admin_action_login_details_key_a11a9c4296db95ba89b358eee30447f9feda0dc9a887843a82c4f2573e00b33f_asd-1

The admin can also export the login/logout log data via a CSV or XML file as required.

192.168.15.47_EE246-p1_pub_admin_action_login_details_key_a11a9c4296db95ba89b358eee30447f9feda0dc9a887843a82c4f2573e00b33f_asd-2

After export, the admin can view the data in the respective file format.

CSV file format:

6-3

XML file format:

7-4

Catalog Log Details

Under this section, the admin can see the log for the product and categories(Add, edit, and delete logs).

192.168.15.47_EE246-p1_pub_admin_action_product_logging_key_bee211c191c72f0af67092046561529c431a553547040604398eec655c12a89b_asd

Apart from that, the admin can also delete the catalogue logs as required in bulk.

192.168.15.47_EE246-p1_pub_admin_action_product_logging_key_bee211c191c72f0af67092046561529c431a553547040604398eec655c12a89b_asd-1

The admin can also export the product and category log data via a CSV or XML file as required.

192.168.15.47_EE246-p1_pub_admin_action_product_logging_key_bee211c191c72f0af67092046561529c431a553547040604398eec655c12a89b_asd-2

After export, the admin can view the data in the respective file format.

CSV file format:

8-3

XML file format:

9-3

Customer Log Details

In this section, the admin has access to a log containing customer information, including customer ID, customer name, customer email, creation date and time, as well as IP addresses.

customer_log_details_magento_admin

The admin can also export the customer logs data in CSV and XML format.

customer_log_details_magento_admin__1_

After exporting the admin can view the respective format.

CSV file Format:

screenshot_from_2023_09_15_12_42_11

XML file format:

home_manish_Downloads_export.xml_

Support

That is all about the Magento 2 Admin Action Logs extension. If you have any queries regarding the plugin, please contact us at Webkul Support System.

If you’re looking to create a custom e-commerce website, it’s a great idea to hire Magento developers who can help you build a powerful and scalable online store.

You can also check our complete Magento 2 extensions.

Current Product Version - 5.0.1 -p1

Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home

Table of Content