Skip to content

Commit

Permalink
docs/transport: add pino-kafka (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayZagen committed Jan 19, 2021
1 parent 9107640 commit eca5800
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/transports.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ PR's to this document are welcome for any new transports!
+ [pino-elasticsearch](#pino-elasticsearch)
+ [pino-gelf](#pino-gelf)
+ [pino-http-send](#pino-http-send)
+ [pino-kafka](#pino-kafka)
+ [pino-logflare](#pino-logflare)
+ [pino-mq](#pino-mq)
+ [pino-mysql](#pino-mysql)
Expand Down Expand Up @@ -210,6 +211,15 @@ transport that will batch logs and send to a specified URL.
$ node app.js | pino-http-send -u http://localhost:8080/logs
```

<a id="pino-kafka"></a>
### pino-kafka

[pino-kafka](https://github.com/ayZagen/pino-kafka) transport to send logs to [Apache Kafka](https://kafka.apache.org/).

```sh
$ node index.js | pino-kafka -b 10.10.10.5:9200 -d mytopic
```

<a id="pino-logflare"></a>
### pino-logflare

Expand Down

0 comments on commit eca5800

Please sign in to comment.