How to Configure Magento 2 Admin Action Log
Magento 2 facilitates store owners to create new admin user in Magento 2 to get the store managed by multiple people and assign multiple admin roles to administer it.
However, when there are multiple admins, it is a must for store owners to monitor their tasks and keep an eye on their performance.
To do so, the store owner can configure the admin action log in Magento 2 Commerce version.
For the open-source version, the admin can install Meetanshi’s Magento 2 Admin Action Log for monitoring the tasks of multiple admin users.
As a store owner, you can view the log history, the activities of each admin, and hence manage the admins who run your store.
The Magento 2 action log includes the IP, name, and date which gives better insights to the store owner about the activities and performance of the store admins.
Other information in the Magento 2 admin action log:
|
|
---|---|
User Data | Description |
Time | The date & time of the action |
Action Group | Shows the action type. It correlates to the actions enabled on Admin Actions Logging screen in the Settings. |
Action | Shows the action that was logged |
IP Address | IP address of the machine on which the action was performed |
Username | Login ID for the user who performed the action |
Result | Shows the success/failure of the action |
Full Action Name | Shows the backend action name |
Details | Shows the backend action category |
Full Details | Shows all the logged details of the admin section |
Steps to Configure the Magento 2 Admin Action Log Report:
- Log in to admin panel
- Go to Stores > Configuration
- Select Admin under Advanced
- Expand the Admin Actions Logging
- Enable the admin actions logging checkboxes
- Save the configuration
Steps to View the Magento 2 Admin Action Log Report:
(Image Source: Magento Docs)
That’s it.
One can also filter the action log report by fields like time, action, IP address, username, etc.
Or export the action log report in CSV or Excel XML file format from the admin panel.
Any doubts about the Magento 2 admin action log can be mentioned in the Comments section below. I’d be happy to help you out.
Also, do share the tutorial with the Magento community via social media.
Thank you.
Shivbhadrasinh Gohil
Shivbhadrasinh is the Co-founder & Chief Marketing Officer at Meetanshi. He leads the marketing team and is the person behind the marketing & branding success of the company. Being a seasoned digital marketer, he has been consulting online businesses for growth since 2010 and has helped 100+ clients with digital marketing success.
He loves sharing tips and insights about the latest digital marketing trends aimed at helping online business owners.
2 Comments
Hi, How can I add my module in admin actions log in that enable action??
Hello,
Create logging.xml file in the etc folder of your custom module.
Refer: https://magento.stackexchange.com/questions/191231/custom-action-logging-in-magento-2-ee
Thank You.