GelfKafkaHandler
Hi guys,
what I needed is the feature that logs created in my pyhton code (e.g. "logger.info("whatever")") are converted into the GELF format and then sent via a Kafka bus to graylog (Gelf Kafka Input). I found this module here and it provided nearly exactly what I needed - except the "GelfKafkaHandler".
I was thinking of a additional Handler and were glad to see that such an additional handler was very easy to implement. I wrote some additional lines of code and tested it on a local setup - it works !
So now - please let me know what you are thinking! Is this a sensible feature?
Looking forward to get your feedback.
Hey @cejus!
Sounds pretty good. If you have a working solution for this, could you please prepare a PR? I'm sure this functionality would be useful for other people out there.
Thank you!
Hey @keeprocking,
sorry for my late response! I was very busy the last days. Created the PR #36.
What is still to do at first is an enhancement of your testing infrastructure to test the additional feature. I tested it on my local machine but I think such an enhancement is still required.
Best regards