Use ElasticPress to power Stream with Elasticsearch.
Stream is a WordPress plugin that logs user activity. Every logged-in user action is displayed in an activity stream and organized for easy filtering by User, Role, Context, Action or IP address. Stream is a powerful tool for editorial teams, providing audit trails for potential mistakes and even security breaches.
The core Stream plugin stores data in MySQL which after awhile can became bloated and slow. ElasticPress Stream let's you store data in Elasticsearch which is faster as well as off-site which is more secure.
- Stream plugin
- Elasticsearch 5.0+
- ElasticPress 2.2+
- PHP 5.6+
- Install Stream. For now you will need to use the
developbranch on Github.
- Install Elasticsearch and ElasticPress
- Install ElasticPress Stream. Within the ElasticPress admin dashboard, activate the ElasticPress Stream feature.
Once the ElasticPress Stream feature has been activated, Stream will start using Elasticsearch instead of MySQL. There are no settings to configure.
Note: Be sure to consider the security and privacy implications of where detailed site log data is stored. Elasticsearch Stream indices requires POST, PUT, and GET requests properly configured to shield access and tampering from the public.
ElasticPress Stream is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.