markmcdowell / NLog.Targets.ElasticSearch

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

Error writing logs #168

Closed Maxmyd closed 1 year ago

Maxmyd commented 1 year ago

Hi, I'm using it since last year but few weeks ago I started to receive error message in internal NLog log file. _only write ops with an optype of create are allowed in data streams Any ideas what has happened? Thanks

Maxmyd commented 1 year ago

Sorry, that was not a NLog issue, it's completely an Elastic

snakefoot commented 1 year ago

Notice there is the option opCodeCreate="true" if wanting to use Elastic-Data-Stream.

See also: https://github.com/markmcdowell/NLog.Targets.ElasticSearch/wiki

See also: https://github.com/markmcdowell/NLog.Targets.ElasticSearch/issues/132