Skip to content

Commit ae2335b

Browse files
vladmaricaDABH
authored andcommitted
Add Humio transport link to docs (#1705)
1 parent 785bd9e commit ae2335b

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

docs/transports.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ there are additional transports written by
4343
* [Google BigQuery](#google-bigquery)
4444
* [Google Stackdriver Logging](#google-stackdriver-transport)
4545
* [Graylog2](#graylog2-transport)
46+
* [Humio](#humio-transport)
4647
* [LogDNA](#logdna-transport)
4748
* [Logsene](#logsene-transport) (including Log-Alerts and Anomaly Detection)
4849
* [Logz.io](#logzio-transport)
@@ -525,6 +526,23 @@ const logger = winston.createLogger({
525526
})
526527
```
527528
529+
### Humio Transport
530+
531+
[humio-winston][44] is a transport for sending logs to Humio:
532+
533+
``` js
534+
const winston = require('winston');
535+
const HumioTransport = require('humio-winston');
536+
537+
const logger = winston.createLogger({
538+
transports: [
539+
new HumioTransport({
540+
ingestToken: '<YOUR HUMIO INGEST TOKEN>',
541+
}),
542+
],
543+
});
544+
```
545+
528546
### LogDNA Transport
529547
530548
[LogDNA Winston][37] is a transport for being able to forward the logs to [LogDNA](https://logdna.com/):
@@ -943,4 +961,4 @@ That's why we say it's a logger for just about everything
943961
[41]: https://github.com/aandrewww/winston-transport-sentry-node
944962
[42]: https://github.com/kaminskypavel/winston-bigquery
945963
[43]: https://www.npmjs.com/package/winston-bigquery
946-
964+
[44]: https://github.com/Quintinity/humio-winston

0 commit comments

Comments
 (0)