Seq Forwarder
Seq Forwarder collects and forwards logs for machines with unreliable network connectivity
Under Development
Seq Forwarder is a new project that's being developed collaboratively on GitHub. Installers can be downloaded from the Releases page.
Seq Forwarder is an application that collects logs on occasionally-connected machines, and ships these to Seq when network connectivity is available.
Seq Forwarder runs as a Windows Service on the remote machines, and accepts events through HTTP connections on localhost
. The API exposed by the forwarder is identical to the Seq one for collecting raw events.
Log.Logger = new LoggerConfiguration()
.WriteTo.Seq("http://localhost:15341")
.CreateLogger();
Log.Information("Hello, Seq Forwarder!");
Instead of the Seq default port 5341
, the forwarder listens on 15341
.
The forwarder doesn’t itself require an API key – make sure inbound connections on port 15341 are denied by the application machine’s firewall (on Windows this will be the default).
Events are buffered in a local database until they can be batched up and sent to the remote Seq machine.
The size of the buffer can be capped: by default, up to 64 MB will be used, so that an un-monitored machine doesn’t exhaust its local storage. The forwarder uses a configuration file in C:\ProgramData\Seq\Forwarder
and provides a command-line tool for administration:
seq-forwarder config -k storage.bufferSizeBytes -v 1073741824
seq-forwarder restart
Updated less than a minute ago