Skip to content

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

@learnevolve

Description

@learnevolve

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions