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.
Is this an issue related to the Serilog core project or one of the sinks or community projects.
This issue list is intended for Serilog Elasticsearch Sink issues. If this issue relates to another sink or to the code project,
please log on the related repository. Please use Gitter chat and Stack Overflow for discussions and questons.
Does this issue relate to a new feature or an existing bug?
Bug
New Feature
What version of Serilog.Sinks.Elasticsearch is affected? Please list the related NuGet package.
Please describe the current behavior?
Its easy to by accident log same field with different datatypes and get errors like:
Received failed ElasticSearch shipping result 400: {"type":"mapper_parsing_exception","reason":"failed to parse field
And its easy to miss errors in selflog Please describe the expected behavior?
It would be nice if all not connection error problem was logged as errors in elasticsearch as string.
Or at least the excption is also sent to Action<LogEvent,Exception> ElasticsearchConfiguration.FailureCallback
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
The text was updated successfully, but these errors were encountered:
pierresetteskog
changed the title
log elastic mapping errors as errors
log elastic mapping errors as errors in elasticsearch
Dec 11, 2018
I do see what you mean, due to the batching and background work, it is difficult to spot issues. it is also not an audit sink, so exceptions are hidden. The use of the EmitEventFailureHandling option might be useful here?
A few questions before you begin:
Does this issue relate to a new feature or an existing bug?
What version of Serilog.Sinks.Elasticsearch is affected? Please list the related NuGet package.
What is the target framework and operating system? See target frameworks & net standard matrix.
Please describe the current behavior?
Its easy to by accident log same field with different datatypes and get errors like:
Received failed ElasticSearch shipping result 400: {"type":"mapper_parsing_exception","reason":"failed to parse field
And its easy to miss errors in selflog
Please describe the expected behavior?
It would be nice if all not connection error problem was logged as errors in elasticsearch as string.
Or at least the excption is also sent to Action<LogEvent,Exception> ElasticsearchConfiguration.FailureCallback
If the current behavior is a bug, please provide the steps to reproduce the issue and if possible a minimal demo of the problem
The text was updated successfully, but these errors were encountered: