Not able to send logs to elastic search via Nlog.config

Hi Everyone,

Our aim is to send logs to Elasticsearch and we have made changes to the NLog.config file as per the documentation - Home · markmcdowell/NLog.Targets.ElasticSearch Wiki · GitHub

NLog File

However, we are getting the an error as
NLog.NLogConfigurationException: Failed to create Target of type: Elasticsearch ---> System.ArgumentException: Target symbol-name is unknown: 'Elasticsearch' at NLog.Config.Factory`2.CreateInstance(String itemName)-

Hello and welcome,

This does not seem to be an issue with Elasticsearch, but with the tool you are using which is not made by Elastic nor supported here, you need to contact the author of that tool on their github.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.