Reputation: 403
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
Reputation: 236
Looks like now we have an implementation:
https://github.com/vermeeca/Serilog.Sinks.Syslog/tree/master
Upvotes: 4
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
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