Breedly
Breedly

Reputation: 14226

Secure Logging drivers with Docker?

I noticed that the fluentd engine uses the out_forward output to send logs. Meaning all logs are sent in the clear. Is there a way to specify the output type? I'd like to be able to have Docker send logs with out_secure_forward instead.

Are there plans to enable more configuration? Should I use a different logging driver if I want security? Perhaps use the JSON file engine and then use fluentd to ship those securely?

Upvotes: 0

Views: 329

Answers (1)

Satoshi Tagomori
Satoshi Tagomori

Reputation: 126

IMO the best option to do what you want is:

  1. introduce an additional docker container (A) to run Fluentd in it
  2. configure your docker containers to send logs (over fluentd log drivers) to that container (A)
  3. send these logs to another site from the fluentd in container (A) by using secure-forward

Upvotes: 2

Related Questions