Skip to content
A node.js sample app that stores syslog messages in Riak Search
JavaScript Erlang
Failed to load latest commit information.
examples Some more examples to run hourly stats on logs. Mar 14, 2011
lib Add a few comments to the MapReduce functions. Mar 15, 2011
package.json add explicit ejs dependency Apr 22, 2011



This is a sample application that stores syslog messages in Riak Search, using riak-js.

Originally created by Mathias Meyer and Sean Cribbs for the “Riak with node.js” Basho webinar, March 15, 2011.

Install & Run

  1. npm bundle (installs dependencies)
  2. Copy config/riak.js.example to config/riak.js and tweak to fit your setup. Make sure to have Riak Search installed and running already.
  3. search-cmd set-schema syslog config/syslog_schema.erl
  4. search-cmd install syslog
  5. Startup the app: node server.js
  6. Feed some data into the syslog server: node lib/syslog/producer.js
  7. Search it from the web application: http://localhost:8001/
Something went wrong with that request. Please try again.