serilog.sinks.elasticsearch breaking changes
Updated December 4, 2026
On this page
Latest version 10.0.0, released March 12, 2024. The registry marks it deprecated: Please see https://github.com/serilog-contrib/serilog-sinks-elasticsearch Reasons: Legacy. Use Elastic.Serilog.Sinks instead.. Source repository
Packages on NuGet run on .NET. .NET end of life dates.
serilog.sinks.elasticsearch 10.0.0 breaking changes
- Signature changed
Serilog.Sinks.Elasticsearch.ElasticsearchSink
Was sealed class ElasticsearchSink : Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink; now sealed class ElasticsearchSink. nuget.org - Signature changed
Serilog.Sinks.Elasticsearch.ElasticsearchSinkOptions.FailureCallback
Was System.Action<Serilog.Events.LogEvent> FailureCallback {get; set;}; now System.Action<Serilog.Events.LogEvent, System.Exception> FailureCallback {get; set;}. nuget.org
serilog.sinks.elasticsearch 9.0.0 breaking changes
- Removed
Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv2
Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv2 was removed in Serilog.Sinks.ElasticSearch 9.0.0 nuget.org - Removed
Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv5
Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv5 was removed in Serilog.Sinks.ElasticSearch 9.0.0 nuget.org - Removed
Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchAsync
Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchAsync was removed in Serilog.Sinks.ElasticSearch 9.0.0 nuget.org - Removed
Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchChecked
Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchChecked was removed in Serilog.Sinks.ElasticSearch 9.0.0 nuget.org - Removed
Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchCheckedAsync
Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchCheckedAsync was removed in Serilog.Sinks.ElasticSearch 9.0.0 nuget.org - Removed
Serilog.Sinks.Elasticsearch.ElasticsearchSink.HandleException
Serilog.Sinks.Elasticsearch.ElasticsearchSink.HandleException was removed in Serilog.Sinks.ElasticSearch 9.0.0 nuget.org - Behavior changed
Formatters moved out of the main sink package into their own package, and ElasticSearch.Net is no longer a dependency of the formatter package. Install the formatter package to keep using formatters. github.com - Behavior changed
Templates for Elasticsearch 6 now use index_patterns instead of template, and the FailureSink moved from FileSink to RollingFileSink. Review custom template and failure sink setups. github.com - Behavior changed
ElasticsearchSinkOptions.TemplateCustomSettings
TemplateCustomSettings is now typed as Dictionary<string,string>, which can break code assigning other types. github.com - Behavior changed
FailureSink
The failure sink was changed from the deprecated FileSink to RollingFileSink, so failure output files may now roll over differently. github.com
And 4 more in this version. Sign up to see every change
serilog.sinks.elasticsearch 9.0.0-beta8 breaking changes
- Removed
Support for Elasticsearch versions 2 and 5 was removed. Users on those servers must upgrade Elasticsearch or stay on an older package version. github.com - Behavior changed
TypeName
The TypeName parameter is now set automatically depending on whether the Elasticsearch server is below version 7 or 7 or higher. Code that set it manually may see different behavior. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.