elasticpress-stream
elasticpress-stream copied to clipboard
ARCHIVED: Use ElasticPress to power Stream with Elasticsearch.
ElasticPress Stream
Use ElasticPress to power Stream with Elasticsearch.
[!CAUTION] As of 12 April 2024, this project is archived and no longer being actively maintained.
Background
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.
Requirements
- Stream plugin
- Elasticsearch 5.0+
- ElasticPress 2.2+
- PHP 5.6+
Setup
- 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.
Support Level
Archived: This project is no longer maintained by 10up. We are no longer responding to Issues or Pull Requests unless they relate to security concerns. We encourage interested developers to fork this project and make it their own!
