You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
serilog.sinks.elasticsearch 8.4.1 supports OpenSearch but for OpenSearch to work you need to set TypeName option set to null. and that can only be configured through code and not through appsettings.json.
This error was fixed in version 9 but version 9 does not support OpenSearch
If TypeName option is not set to null below error occurs:
Caught exception while preforming bulk operation to Elasticsearch: Elasticsearch.Net.ElasticsearchClientException: Request failed to execute.
Call: Status code 400 from: POST /_bulk. ServerError: Type: illegal_argument_exception Reason: "Action/metadata line [1] contains an unknown
parameter [_type]"
Summary
serilog.sinks.elasticsearch 8.4.1 supports OpenSearch but for OpenSearch to work you need to set
TypeName
option set tonull
. and that can only be configured through code and not through appsettings.json.This error was fixed in version 9 but version 9 does not support OpenSearch
If
TypeName
option is not set tonull
below error occurs:Steps to reproduce
Spin OpenSearch Container In docker
OpenSearch docker command:
OpenSearch Dashboard docker command:
What is the current bug behavior?
"typeName": null
does not get configured via appsettings.The text was updated successfully, but these errors were encountered: