-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does NLog.Targets.ElasticSearch support logging to Elasticsearch 8? #176
Comments
Adding documentType="" to target xsi:type="ElasticSearch" solved the issue.
It now works with ES 8. The Versions table on the project front page makes you wonder if ES 8 is supported. I think you should highlight that this project supports ES 8, and mention the empty documentType requirement. |
Looks like data streams are not supported though:
It's true that the |
@johnjaylward The Wiki mentions that you can assign |
will settings |
No idea. Maybe look in the ElasticSearch-manual or ask ElasticSearch-support or use StackOverflow.com or Google how |
I have updated NLog and NLog.Targets.ElasticSearch to latest versions and it worked against Elasticsearch 7. I have upgraded Elasticsearch to version 8. After that, I was unable to write logs to Elasticsearch.
After looking at NLog.Targets.ElasticSearch repository, I noticed that Elasticsearch 8 is not mentioned anywhere and that the latest package targets Elasticserach 7 and not 8.
Is it true that NLog.Targets.ElasticSearch does not support Elasticsearch 8 at the moment?
If it is true, when I could expect support for Elasticsearch 8 to be available?
The text was updated successfully, but these errors were encountered: