Magomogo / couchdb-logger-service

Restful event logging service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

couchdb-logger-service

Build Status

This is a restful event logging service. A pure couchdb web application. I mean it stores events in the couchdb and provides web interface to see them using couchdb as a webserver.

Installation

git clone https://github.com/Magomogo/couchdb-logger-service.git
cd couchdb-logger-service

Optional step, configure:

cp ./config.dist.json ./config.json
vi ./config.json

Install with npm

npm install

Usage

Webinterface is located at http://127.0.0.1:5984/logger-application/_design/main/_rewrite/

To record an event just POST it to http://127.0.0.1:5984/logger-application/_design/main/_rewrite/new as JSON. Note that "message" and "channel" are mandatory values. Each event will be marked with current timestamp.

PHP

Use couchdb-logger-utils to use in PHP applications.

Nodejs

Use node-couchdb-logger to use in Nodejs applications.

About

Restful event logging service

License:MIT License


Languages

Language:JavaScript 93.9%Language:HTML 5.5%Language:Shell 0.6%