fluent / fluent/fluent-logger-python

Can this package be used with TLS?

Open
#144 3 comments 3 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
457
Forks
138
PR merge metrics
No merged PRs in 30d

Description

Hi,
I'm using fluent-logger with a fluentd instance on a remote host and would like to secure the data transfer using TLS.

On the fluentd side, I follow the instructions set [here](https://docs.fluentd.org/v1.0/articles/in_forward#how-to-enable-tls-encryption).

IIUC, there's no support for TLS/SSL on this package yet, and in order to get that, we need to wrap the socket when needed (e.g., given a parameter in the sender's constructor) as described [here](https://docs.python.org/3/library/ssl.html#ssl.SSLContext.wrap_socket).

Please tell me if I'm getting something wrong here, and if not, may I submit a pull request with this functionality?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.