Greetings,
I have created a sink for logging to OpenSearch at https://github.com/villejuhanilaakso/serilog-sinks-opensearch. It is a fork of the https://github.com/serilog-contrib/serilog-sinks-elasticsearch.
The reasoning here is that Elastic Search clients starting with version 7.14 will not connect to OpenSearch servers. The Elastic Search sink is not currently using this version, but in the future most likely will be. We encountered an issue in a project that is using both ElasticSearch and OpenSearch while using a recent elastic search client nuget package. So I created this repository to restore the ability to log to OpenSearch in the project and would like to share it so others can avoid this issue in the future.
Greetings,
I have created a sink for logging to OpenSearch at https://github.com/villejuhanilaakso/serilog-sinks-opensearch. It is a fork of the https://github.com/serilog-contrib/serilog-sinks-elasticsearch.
The reasoning here is that Elastic Search clients starting with version 7.14 will not connect to OpenSearch servers. The Elastic Search sink is not currently using this version, but in the future most likely will be. We encountered an issue in a project that is using both ElasticSearch and OpenSearch while using a recent elastic search client nuget package. So I created this repository to restore the ability to log to OpenSearch in the project and would like to share it so others can avoid this issue in the future.