From e0c4eb2e90d737a1f6f3bf98d7006882f8cf835b Mon Sep 17 00:00:00 2001 From: Mike Del Tito Date: Thu, 4 Mar 2021 12:19:54 -0500 Subject: [PATCH] docs: add pino-logdna transport Adds the `pino-logdna` transport to the list --- docs/transports.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/transports.md b/docs/transports.md index cd102b3cb..7c8158b2d 100644 --- a/docs/transports.md +++ b/docs/transports.md @@ -77,6 +77,7 @@ PR's to this document are welcome for any new transports! + [pino-gelf](#pino-gelf) + [pino-http-send](#pino-http-send) + [pino-kafka](#pino-kafka) ++ [pino-logdna](#pino-logdna) + [pino-logflare](#pino-logflare) + [pino-mq](#pino-mq) + [pino-mysql](#pino-mysql) @@ -220,6 +221,17 @@ $ node app.js | pino-http-send -u http://localhost:8080/logs $ node index.js | pino-kafka -b 10.10.10.5:9200 -d mytopic ``` + +### pino-logdna + +[pino-logdna](https://github.com/logdna/pino-logdna) transport to send logs to [LogDNA](https://logdna.com). + +```sh +$ node index.js | pino-logdna --key YOUR_INGESTION_KEY +``` + +Tags and other metadata can be included using the available command line options. See the [pino-logdna readme](https://github.com/logdna/pino-logdna#options) for a full list. + ### pino-logflare