tsaikd / gogstash

Logstash like, written in golang
MIT License
644 stars 106 forks source link

add TLS support for dockerlog & dockerstats input #131

Closed manslaughter03 closed 4 years ago

manslaughter03 commented 4 years ago

Hi,

First thx for the work.

For my personal use, i need to use dockerlog and dockerstat input on a docker available via TCP over TLS.

In order to test this, you have to setup a docker with tlsverify option https://docs.docker.com/engine/security/https/ or just use socat to forward from a tls tcp listener to the docker unix socket : socat -d -v -d TCP-L:2375,fork UNIX:/var/run/docker.sock