---
title: "serilog.sinks.elasticsearch 10.0.0 Breaking Changes on NuGet"
description: "What each serilog.sinks.elasticsearch release removed, renamed or changed: 18 breaking changes in 3 versions on NuGet, each with its source."
canonical_url: https://since.dev/packages/nuget/serilog.sinks.elasticsearch
last_updated: 2026-12-04
---

# serilog.sinks.elasticsearch breaking changes

serilog.sinks.elasticsearch 10.0.0 (March 12, 2024) is its newest release with breaking changes, 2 of them. The first: Signature changed Serilog.Sinks.Elasticsearch.ElasticsearchSink. Every breaking API change we have recorded in serilog.sinks.elasticsearch on NuGet: 18 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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](https://github.com/serilog-contrib/serilog-sinks-elasticsearch)

Packages on NuGet run on .NET. [.NET end of life dates](https://since.dev/calendar/dotnet.md).

- From [9.0.0](#v-9-0-0) to [10.0.0](#v-10-0-0): 2 breaking changes in 1 version.

## serilog.sinks.elasticsearch 10.0.0 breaking changes

serilog.sinks.elasticsearch 10.0.0, released March 12, 2024: 2 breaking changes.

- **Signature changed** `Serilog.Sinks.Elasticsearch.ElasticsearchSink`  

Was sealed class ElasticsearchSink : Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink; now sealed class ElasticsearchSink. [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/10.0.0)
- **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](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/10.0.0)

## serilog.sinks.elasticsearch 9.0.0 breaking changes

serilog.sinks.elasticsearch 9.0.0, released February 2, 2023: 14 breaking changes.

- **Removed** `Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv2`  

Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv2 was removed in Serilog.Sinks.ElasticSearch 9.0.0 [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/9.0.0)
- **Removed** `Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv5`  

Serilog.Sinks.Elasticsearch.AutoRegisterTemplateVersion.ESv5 was removed in Serilog.Sinks.ElasticSearch 9.0.0 [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/9.0.0)
- **Removed** `Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchAsync`  

Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchAsync was removed in Serilog.Sinks.ElasticSearch 9.0.0 [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/9.0.0)
- **Removed** `Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchChecked`  

Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchChecked was removed in Serilog.Sinks.ElasticSearch 9.0.0 [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/9.0.0)
- **Removed** `Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchCheckedAsync`  

Serilog.Sinks.Elasticsearch.ElasticsearchSink.EmitBatchCheckedAsync was removed in Serilog.Sinks.ElasticSearch 9.0.0 [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/9.0.0)
- **Removed** `Serilog.Sinks.Elasticsearch.ElasticsearchSink.HandleException`  

Serilog.Sinks.Elasticsearch.ElasticsearchSink.HandleException was removed in Serilog.Sinks.ElasticSearch 9.0.0 [nuget.org](https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/9.0.0)
- **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](https://github.com/serilog-contrib/serilog-sinks-elasticsearch/releases/tag/v9.0.0)
- **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](https://github.com/serilog-contrib/serilog-sinks-elasticsearch/releases/tag/v9.0.0)
- **Behavior changed** `ElasticsearchSinkOptions.TemplateCustomSettings`  

TemplateCustomSettings is now typed as Dictionary\<string,string>, which can break code assigning other types. [github.com](https://github.com/serilog-contrib/serilog-sinks-elasticsearch/releases/tag/v9.0.0)
- **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](https://github.com/serilog-contrib/serilog-sinks-elasticsearch/releases/tag/v9.0.0)

And 4 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## serilog.sinks.elasticsearch 9.0.0-beta8 breaking changes

serilog.sinks.elasticsearch 9.0.0-beta8, released February 2, 2023: 2 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](https://github.com/serilog-contrib/serilog-sinks-elasticsearch/releases/tag/v9.0.0-beta8)
- **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](https://github.com/serilog-contrib/serilog-sinks-elasticsearch/releases/tag/v9.0.0-beta8)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
