Add fluentd support
See original GitHub issueIs your feature request related to a problem? Please describe.
At this moment it’s not possible to write logs into Fluentd. It’s possible to enable http
plugin there but it accept data in different format
Describe the solution you’d like I’d like to be able to write
ILogger log = new LoggerConfiguration()
.MinimumLevel.Verbose()
.WriteTo.Http(new FluentdSink("http://my.fluent.d:9880"))
.CreateLogger();
and write event there.
Describe alternatives you’ve considered Existing Fluentd sink package is unusable and buggied. The most urgent concern is it escapes everything with quotes, so I’m unable to execute range and others non-text queries.
Additional context
Here is a link to fluentd http format documentation: https://docs.fluentd.org/input/http#basic-usage
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Installation
Install by RPM Package (Red Hat Linux) · Install by DEB Package (Debian/Ubuntu) · Install by .dmg Package (macOS) · Install by .msi...
Read more >Quickstart
Let's get started with Fluentd! Fluentd is a fully free and fully open-source log collector that instantly enables you to have a 'Log...
Read more >Plugin Management
The fluent-gem command is used to install Fluentd plugins. This is a wrapper around the gem command.
Read more >Frequently Asked Questions
Fluentd is an open source data collector for building the unified logging layer. Once installed on a server, it runs in the background...
Read more >How to Install & Activate Fluent Support
First, go to the Plugins page of your WordPress dashboard & click on the Add New button. · Click on the Install button...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve created a new sample repository showcasing this sink sending log events to Fluentd. I’ll close this issue, but if you find any other issues please don’t hesitate to create them.
The Fluentd http input plugin in is supporting JSON arrays of log events, and since this sink supports that as well I’m confident we can make it work.
I am about to create a repository showcasing the integration, and my hypothesis is that writing like this should just work: