If the elastic server ist not available every request blocks execution. Now if the server is not reachable the events get saved in a queue and sent with the next request but with a defined timeout. As long the timeout has not exeeded the target do not try to send the request to the server.
I added two new properties
MaxQueueItems: limits the max items in queue. Default 1000
SendTimeoutOnFailureInMilliseconds: sets the timeout . Default 10000
If the elastic server ist not available every request blocks execution. Now if the server is not reachable the events get saved in a queue and sent with the next request but with a defined timeout. As long the timeout has not exeeded the target do not try to send the request to the server.
I added two new properties MaxQueueItems: limits the max items in queue. Default 1000 SendTimeoutOnFailureInMilliseconds: sets the timeout . Default 10000
I had the problem described in https://github.com/markmcdowell/NLog.Targets.ElasticSearch/issues/174