-
Notifications
You must be signed in to change notification settings - Fork 67
Description
ECS project: Elastic.Serilog.Sinks
ECS schema version: latest
ECS .NET assembly version: latest
.NET framework / OS: net4.8 / Windows
After upgrade of Elastic.Ingest.Elasticsearch to version 0.18 or newer, I get the following exception at runtime:
Could not load type 'Elastic.Ingest.Elasticsearch.ElasticsearchChannelOptionsBase`1' from assembly 'Elastic.Ingest.Elasticsearch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=069ca2728db333c1'.
at Elastic.Serilog.Sinks.ElasticsearchSink1..ctor(ElasticsearchSinkOptions1 options) in /home/runner/work/ecs-dotnet/ecs-dotnet/src/Elastic.Serilog.Sinks/ElasticsearchSink.cs:line 148
at Elastic.Serilog.Sinks.ElasticsearchSinkExtensions.Elasticsearch[TEcsDocument](LoggerSinkConfiguration loggerConfiguration, ICollection1 nodes, Action1 configureOptions, Action`1 configureTransport, Boolean useSniffing, LoggingLevelSwitch levelSwitch, LogEventLevel restrictedToMinimumLevel) in /home/runner/work/ecs-dotnet/ecs-dotnet/src/Elastic.Serilog.Sinks/ElasticsearchSinkExtensions.cs:line 87
....
The cause of the problem is that ElasticsearchChannelOptionsBase has been renamed to IngestChannelOptionsBase in Elastic.Ingest.Elasticsearch v0,18