Use ElasticPress to power Stream with Elasticsearch.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
includes
languages
.editorconfig
.gitignore
Gruntfile.js
README.md
composer.json
elasticpress-stream.php
package.json

README.md

ElasticPress Stream

Use ElasticPress to power Stream with Elasticsearch.

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

  1. Install Stream. For now you will need to use the develop branch on Github.
  2. Install Elasticsearch and ElasticPress
  3. 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.

License

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.