How to Display User Activity in WordPress with Security Audit Logs
Do you wish to monitor user activity on your WordPress website?
One service that owners and admins of multi-user WordPress sites look for is the capability to easily keep track of user activity on their site.
This enables them to put a check and balance system in location. If things go out of control, then they can easily figure out what failed, who did it, and how to fix it.
In this article, we will reveal you how to keep an eye on user activity and keep a security audit log in WordPress.
Why You Should Enable WordPress Activity Display and Logs?
A typical objection that typically turns up is you should not offer WordPress login access to anyone that you do not trust. If you do that, then you won’t need an activity tracking solution.
That’s a bit extreme since there are numerous very legitimate use-cases of activity logs.
Sometimes users can accidentally make a mistake or error that may break your WordPress website Having an activity tracking log assists you identify and fix those issues much faster.
Considering that the audit logs will reveal you which user made the error, you can also inform them on finest practices to avoid the exact same error in the future.
An excellent example is if a mediator authorized a remark that doesn’t fit your comment guidelines, then you can rapidly fix their error and also inform them about it.
While many designers are credible, in some cases you will run into a dishonest developer who can trigger your organisation to lose considerable quantity of cash.
Recently one of our Facebook group members reported that a designer she hired from Upwork altered the PayPal address in her < a href =" https://www.wpbeginner.com/wp-tutorials/woocommerce-tutorial-ultimate-guide/" title =" WooCommerce Made Simple: A Detailed Tutorial[+ Resources]" > WooCommerce shop
These type of subtle changes are exceptionally hard to find unless you have a WordPress user audit log that tracks all activity.
Several years ago this problem took place to WPBeginner creator, Syed Balkhi, where a freelance developer silently altered numerous of his affiliate links. Syed captured and repaired the issue thanks to a security audit log plugin.
With the above advantages in minds, let’s take an appearance at how to set up and keep track of user activities on your WordPress website.
We will share 2 WordPress audit log plugins.
- Basic History(complimentary plugin, but not as robust)
- WP Security Audit Log(best-in-class for what it does)
Monitoring User Activity with Easy History
Simple History is a totally free user activity monitoring plugin for WordPress, but it is not as feature abundant. If you run a little site or WordPress blog, then this plugin will work for you.
Upon activation, head over to Settings ” Basic History from the left sidebar of your WordPress admin panel.
On the settings page, you can choose whether you want the activity log to appear on the dashboard, on a separate page, or both.
You can also choose the number of products that will appear on the Dashboard and the log page.
By default, the Basic History plugin cleans up the activity log history that is older than 60 days. You can likewise delete the history by hand by clicking the Clear log now button on the settings page.
This plugin allows you to keep an eye on the history with the assistance of a secret RSS feed. However, you need to inspect the “Enable RSS feed” choice to utilize it.
Viewing User Activities with Basic History
To inspect the user activity log, you require to check out the Dashboard” Basic History page. You can also view them on the Control panel, but this will depend upon how you have actually configured the settings of this plugin.
This plugin displays the events of the last 30 days by default. You can alter it to a set variety (approximately 60 days) or to a custom-made range by clicking the Dates dropdown menu.
To look for particular events on your site, you require to click on the “Show search choices” link. This will open up a variety of fields. You can either utilize a single field or a mix of them to discover the desired information.
For instance, you can utilize the Users field to discover someone and after that, click on the Search events button to see the activities of that person in the last 30 days.
By default, the Basic History plugin allows you to monitor login, logout, wrong password, post/page editing, media upload, plugin install/update, user profile changes, and more.
It also has support for bbPress online forums which lets you see the forum and subject activities on your website.
Basic History allows you to add your own customized occasions also. If you have development experience and wish to include a customized occasion, then you can check out the information on this page
Monitor User Activity using the WP Security Audit Log
Although Simple History does a great task of tracking user activities on your website, it is restricted in functionality.
If you are looking for a plugin that supplies detailed and real-time user activity reports, then you ought to use the WP Security Audit Log plugin.
It is a feature-rich plugin that enables you to monitor every change that takes place on your site. You can likewise get email and SMS notices for crucial website events.
To get begun, you require to install and trigger the WP Security Audit Log plugin on your WordPress site.
Upon activation, you will see a new menu item Audit Log in the left sidebar of your admin panel. You need to click it to configure this plugin.
On the settings page, you will need to go into the license secret of this plugin, and after that you need to click on the “Agree & Activate License” button to start utilizing this plugin.
Note: To get the license secret, you can examine the welcome e-mail that you have received after acquiring the plugin.
As soon as activated, you will see brand-new options under the Audit Log menu in the left sidebar.
To keep an eye on the events on your website, you require to head over to the Audit Log” Audit Log Viewer page.
This plugin displays the current events at the top bar of your screen. You can also click those notices to go to the Audit Log Viewer page.
The log page will allow you to see all occasions on your site. You will get crucial details like the date of the event, the user included, IP address of the user, and the occasion message.
For example, if someone logged into your site, then you will be able to discover who was that user, when did that individual login, and the IP address of the user.
You can also control the events that you want to track by going to the Audit Log” Enable/Disable Occasions page.
Here you can pick Basic, Geek, or Custom from the Log Level dropdown menu. Based on your selection, you will see various event names and their description on that page.
You can now enable or disable specific events by checking/unchecking the boxes. You can do the exact same by going to different tabs like Content & Remarks, WordPress Install, Visitor Events, etc.
To track the logged in users on your site, you require to go to the Audit Log” Logged In Users page.
From here you will see all the users who are logged into your site. You can likewise require someone to log out by clicking on the Terminate Session button.
If you want to download the activity log of your website, then merely go to the Audit Log” Reports page to produce a report based on the requirements that you might have.
That’s all! We hope this article helped you to comprehend how to keep an eye on user activity in WordPress with the help of Easy History or WP Security Audit Log plugin.