Pigsty REST Output Plugin
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
LICENSE
README.md
package.json

README.md

Pigsty REST Output Plugin

This plugin was created to POST the events read by Pigsty to a REST Web Service.

Configuration

Add the following configuration to pigsty.config.js

rest: {
  uri: 'http://rest.web.service.me:8080/api/events',
  batch: 1000, // 1000 events per batch POST
}

TODO

  • Template format for customized JSON structures
  • Support for more representations