ElasticSearch NLog integration

Hi ,

I want to write logs to ElasticSearch. So , I added NLog.Targets.ElasticSearch in nugets package and I configured my Nlog.config file.

I can see in ElasticSearch only dll level logs,

My NLog configuration:


For Example I write Info Log , I can see in File but I can not see while calling http://localhost:9200/logstash-2019.06.13/_search

I want to see also this log in ElasticSearch:

Am I missing some part?

When I call http://localhost:9200/_cat/indices?v , my result like this

Your question might be better served by the maintainers of the NLog Elasticsearch Target GitHub repository.

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