serilog-contrib / serilog-sinks-splunk

A Serilog sink that writes to Splunk
https://splunk.com
Apache License 2.0
46 stars 47 forks source link

Fallback if network connection is down #99

Closed joacar closed 2 years ago

joacar commented 5 years ago

Hi,

I wonder if there are any plans on adding a fallback if the network connection is down? If the log messages cannot be sent across the network, I would like to persist the events to file using CompatchJsonTextFormatter and have an agent that probes for any files and send them to the server when the network connection is restored.

Great work!

merbla commented 5 years ago

Hey @joacar,

Thanks for the note, there was discussion in #82 to follow the Seq and other durable sinks approach to this problem.

I will try to get a PR up soon!

joacar commented 5 years ago

Cool. Let me know if you need to discuss anything or I can help out it any way!

merbla commented 2 years ago

Closing as a part of larger Serilog contrib reorg

Checkout https://github.com/serilog/serilog/issues/1627