FluentNetting 0.0.2

.NET 5.0
Install-Package FluentNetting -Version 0.0.2
dotnet add package FluentNetting --version 0.0.2
<PackageReference Include="FluentNetting" Version="0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FluentNetting --version 0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FluentNetting, 0.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install FluentNetting as a Cake Addin
#addin nuget:?package=FluentNetting&version=0.0.2

// Install FluentNetting as a Cake Tool
#tool nuget:?package=FluentNetting&version=0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

FluentNetting - fluentd / fluent-bit forwarded server

nuget License



'FluentNetting' is fluent forwarding message received server that is based on Fluent forward protocol v1 specification.
This library is supported for both fluentd and fluent-bit.

supported message mode (format)

  • Message Mode
  • Forward Mode
  • PackedForward Mode
  • CompressedPackedForward Mode

supported configuration

  • Security forwarding authorization, HELO, PING and PONG (not tls, not username/password, only self_hostname/shared_key).
  • Udp heartbeat.

how to use

(data flow)

client ---(forward)---> fluend or fluent-bit ---(forward)---> server used by FluentNetting
public class ExampleCallback : IFnCallback
    public void Receive(string tag, List<FnMessageEntry> entries)
        Console.WriteLine($"tag:{tag}, entries:[{string.Join(", ", entries.Select(e => $"{{{e}}}"))}]");
var server = new FnServer(new ExampleCallback())
    // default - not authrization, enable 'RequireAck', disable 'Keepalive'
    Config = new FnConfig(),
    // default - tcp timeout 65 sec, udp timeout 15 sec
    SettingClient = new FnSettingClient(),
    // default - listening on tcp://, udp://
    SettingServer = new FnSettingServer()
fluent configuration (fluentd or fluent-bit in a same host)


  @type forward
  port 24224

<match **>
  @type forward  
  send_timeout 60s
  recover_wait 10s
  heartbeat_type udp
  heartbeat_interval 5s
  phi_threshold 16
  hard_timeout 60s

    host {{ your server address }}
    port 8710

  buffer_type file
  buffer_path /fluentd/log/buffer
  buffer_chunk_limit 1m
  retry_limit 3
  flush_interval 1m


    Flush         5
    Daemon        off
    Log_Level     info
    storage.path  /fluent-bit/log

    Name               forward
    Port               24224
    storage.type       filesystem
    Buffer_Chunk_Size  1M
    Buffer_Max_Size    6M

    Name                  forward
    Match                 *
    Host                  {{ your server address }}
    Port                  8710
    Require_ack_response  true
    Send_options          true
client - csharp used by Pigeon (highly recommend)


var config = new PigeonConfig("localhost", 24224);
var clientPigeon = new PigeonClient(config);
await clientPigeon.SendAsync(
    new Dictionary<string, object> {["hello"] = "world2"}
client - csharp used by Serilog


var options = new FluentdSinkOptions(
    "localhost", 24224, "tag.example1");
var log = new LoggerConfiguration().WriteTo.Fluentd(options).CreateLogger();
log.Information("hello {0}!", "world1");
client - csharp used by FluentdClient.Sharp


using (var client = new FluentdClient.Sharp.FluentdClient(
           "localhost", 24224, new CustomMessagePackSerializer()))
    await client.ConnectAsync();
    await client.SendAsync("tag.example3", 
        new Dictionary<string, object> {["hello"] = "world3"});

In detail, confirm example.

motivated and referenced

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.0.2 87 1/24/2022
0.0.1 86 1/14/2022