8000 [FEATURE] Support for Failure Sink in Elasticsearch.Serilog.Sink · Issue #500 · elastic/ecs-dotnet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FEATURE] Support for Failure Sink in Elasticsearch.Serilog.Sink #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
santhuuu0007 opened this issue May 15, 2025 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@santhuuu0007
Copy link

Hi Team,

In the earlier Serilog.Sinks.Elasticsearch package, there was support for a failure sink mechanism. This was extremely useful — when there were issues pushing logs to Elasticsearch (e.g., network failures, serialization issues), the failure sink or failure callback would be triggered, allowing us to route the failed logs to alternative destinations (e.g., a file sink or another fallback system).

However, in the newer Elasticsearch.Serilog.Sink package, it seems this feature is missing or not clearly documented.

Request:
Could you please confirm whether there is an equivalent option in the new package for handling failed log events (such as a failure sink or a failure callback)? If not, would it be possible to consider adding this feature? It is critical for production environments where log loss is unacceptable, and having a fallback mechanism is essential for observability and troubleshooting.

Thanks for the great work on the package!

@santhuuu0007 santhuuu0007 added the enhancement New feature or request label May 15, 2025
@santhuuu0007
Copy link
Author

@Mpdreamz

Could you please assist with this? We are planning to incorporate it for production support and are checking if there is a way to capture the Failures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant
0