Skip to content

Commit

Permalink
Update transports.md
Browse files Browse the repository at this point in the history
  • Loading branch information
megastef committed Sep 22, 2015
1 parent 91a5bc4 commit 38254c1
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/transports.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ There are several [core transports](#winston-core) included in `winston`, which
* [Azure Table](#azure-table)
* [Airbrake](#airbrake-transport)
* [Newrelic](#newrelic-transport) (errors only)
* [Logsene](#logsene-transport) (including Log-Alerts and Anomaly Detection)

## Winston Core

Expand Down Expand Up @@ -484,6 +485,22 @@ The Newrelic transport will send your errors to newrelic and accepts the follwin

If `env` is either 'dev' or 'test' the lib will _not_ load the included newrelic module saving devs from anoying errors ;)

### Logsene Transport

[winston-logsene][24] transport for Elasticsearch bulk indexing via HTTPS to Logsene:

``` js
var winston = require('winston')
var Logsene = require('winston-logsene')
var logger = new winston.Logger()
logger.add (Logsene, {token: process.env.LOGSENE_TOKEN})
logger.info ("Info message no. %d logged to %s",1,'Logsene', {metadata: "test-log", count:1 , tags: ['test', 'info', 'winston'], memoryUsage: process.memoryUsage()})
```
Logsene [Logsene](http://www.sematext.com/logsene/) provides:
- Fulltext search
- Anomaly detection and alerts
- Kibana4 Dashboards
- Integration with [SPM performance monitoring](http://www.sematext.com/spm/integrations/nodejs-monitoring.html)

## Find more Transports

Expand Down Expand Up @@ -543,3 +560,4 @@ If `env` is either 'dev' or 'test' the lib will _not_ load the included newrelic
[21]: https://github.com/jpoon/winston-azuretable
[22]: https://github.com/rickcraig/winston-airbrake2
[23]: https://github.com/namshi/winston-newrelic
[24]: https://github.com/sematext/winston-logsene

0 comments on commit 38254c1

Please sign in to comment.