Test_me
Test_me

Reputation: 403

Does Serilog support syslog protocol

Is there a syslog sink for Serilog?

I'm trying to make Serilog work with Logstash, but keep the freedom to easily switch to another aggregator, without config changes in my app.

Upvotes: 4

Views: 3573

Answers (3)

Omair Jafri
Omair Jafri

Reputation: 236

Looks like now we have an implementation:

https://github.com/vermeeca/Serilog.Sinks.Syslog/tree/master

Upvotes: 4

JoshSchlesinger
JoshSchlesinger

Reputation: 957

What I do for this scenario is I use the RollingFileSink with the JsonFormatter, and then use nxlog to ship the logs to my syslog server.

Upvotes: 3

Nicholas Blumhardt
Nicholas Blumhardt

Reputation: 31877

No, none that I'm aware of, but it's definitely something that would be welcomed as a contribution. If you'd like to pursue writing one please feel free to reach out on the mailing list for help.

Upvotes: 1

Related Questions