GitHunt
FN

fnaoto/sample-fluentd-sendgrid-datadog

Sample code for SendGird to DataDog Via Fluentd on docker image.

fluentd-sendgrid-datadog-sample

Send data from SendGird to DataDog Via Fluentd sample docker image.

How to use

$ docker-compose build # just one time
$ docker-compose up -d

Check logs

$ curl -X POST localhost:80/ok
$ docker-compose logs fluentd

fluentd_1  | - -> /ok

Test sendgrid plugin

$ curl -X POST -d @test/all.json localhost:80

Send logs to datadog

$ export DD_API_KEY="<DataDog API Key>"
$ docker-compose up -d

Contributors

Created October 30, 2020
Updated September 24, 2021