Skip to content

What if log stash contained is stopped. #277

Answered by FantasticFiasco
imdmehdi asked this question in Q&A
Discussion options

You must be logged in to vote

The log events would only be missing if your process producing the log events crashed. One thing to note about Http and setting queueLimitBytes to null is that log events will be stored in memory in if the log server is unavailable. This will only work for as long as your hardware has memory to allocate, and when there is no more memory to allocate your process producing log events will crash and all events will be lost.

A better alternative is to use DurableHttpUsingFileSizeRolledBuffers or DurableHttpUsingTimeRolledBuffers because in those situations the log events are be stored on disk instead of in memory when the log server is unreachable.

Other than that, given that there's enough r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@imdmehdi
Comment options

Answer selected by imdmehdi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants