fluent-logger-python icon indicating copy to clipboard operation
fluent-logger-python copied to clipboard

Support sending data over HTTP(s)

Open kiyoto opened this issue 10 years ago • 2 comments

It would be nice to add the option to log data to in_http.

A common use case is for people who run Fluentd on Heroku (ex: see this repo.)

NOTE to the maintianers/contributors: this is meant to be one of the projects for Facebook Open Academy =)

kiyoto avatar Feb 02 '15 00:02 kiyoto

Hello, we are the contributors working on this feature for the python logger. However, because of @kiyoto 's circumstances, we have decided to move on from this issue. Below you can find our original interpretation and plan to move forward, which I hope would be useful for future contributors who are interested in finishing this issue:

  1. Modify sender.py. Instead of using sockets to transfer data, we implement a data transfer through http post connection using httplib in python.
  2. Possible fields that need to be added to sender: bind.
  3. Modify event interface to allow for the usage of both kind of senders.
  4. Either have a separate sender or have the sender take a parameter to identify the type of sender to use
  5. An important question to think about: how do we port the test of in_http to the python logger?

Thanks for reading!

  • Fukang Wen @fukangwen, Bobby Zhou @bozhou94

fukangwen avatar Mar 03 '15 21:03 fukangwen

is there any progress or any update on supporting https or tls stream?

mdazam1942 avatar Jun 20 '18 18:06 mdazam1942