elastic / elastic/ecs-dotnet

How to handle the logs in case of failures.

Open
#533 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
HTML
Stars
137
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Hi,

I have been trying to figure out a way to handle the logs in case of failure.

So, if logs could not export to ES because of any reasons, I want to write these logs to a file using a filesink or any other way. But I am only able to find the exception details(using ExportExceptionCallback of ConfigureChannel), but not the logs that failed to export.

Is there any way by which this could be done?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.