[Doc] queue.max_bytes for all queues (#14128) (#14140)

* bring back the details of PQ size checking

(cherry picked from commit 205cf43213)

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
This commit is contained in:
github-actions[bot] 2022-05-20 10:38:12 +01:00 committed by GitHub
parent d2240e072c
commit 94b5f982c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,6 +56,10 @@ queue will be sized at the value of `queue.max_bytes` specified in
`logstash.yml`.
The default is 1024mb (1gb).
+
NOTE: Be sure that your disk has sufficient capacity to handle the cumulative total of `queue.max_bytes` across all persistent queues.
The total of `queue.max_bytes` for _all_ queues should be
lower than the capacity of your disk.
+
TIP: If you are using persistent queues to protect against data loss, but don't
require much buffering, you can set `queue.max_bytes` to a smaller value.
A smaller value produces smaller queues and improves queue performance.