markmcdowell / NLog.Targets.ElasticSearch

NLog target for Elasticsearch
MIT License
176 stars 89 forks source link

Logging Failed in ElasticSearch #72

Closed gramali closed 5 years ago

gramali commented 6 years ago

We have secured ElasticSearch with SearchGuard. Log are not written in Elastic and getting below errors. Please find attached Nlog.config and nlog-internal.log for your reference.

Nlog.txt

nlog-internal.txt

Log.info.2018-08-23.txt

2018-08-23 15:07:54.5365 Error Failed to send log messages to elasticsearch: status=, message="One or more errors occurred."

2018-08-23 15:07:54.5365 Error Error while sending log messages to elasticsearch: message="One or more errors occurred." 2018-08-23 15:07:56.2390 Error Failed to send log messages to elasticsearch: status=, message="One or more errors occurred." 2018-08-23 15:07:56.2390 Error Error while sending log messages to elasticsearch: message="One or more errors occurred." 2018-08-23 15:07:57.9431 Error Failed to send log messages to elasticsearch: status=, message="One or more errors occurred." 2018-08-23 15:07:57.9431 Error Error while sending log messages to elasticsearch: message="One or more errors occurred."

snakefoot commented 6 years ago

Created #73 to improve the error logging for the target