Closed Janjko closed 5 years ago
It sounds like you need the retrying target https://github.com/NLog/NLog/wiki/RetryingWrapper-target, if the elasticsearch target fails to post it doesn't automatically try again.
Guess that's it. Thanks for great software!
I suspect my issue is the same #87, but I'm not sure. I stopped the elasticsearch server, created some logs in the application, and then started the server again. New logs arrived ok, but the ones created while the server was down disappeared. They were still written to disk.
Is this supposed to work, or should I move to filebeat if I want this?
My config looks like this: