feature: set queue.mem to fixed value
This commit is contained in:
parent
6d07c77d91
commit
da0979b4e6
@ -48,6 +48,27 @@ setup:
|
|||||||
dashboards:
|
dashboards:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
# Internal queue configuration for buffering events to be published.
|
||||||
|
queue:
|
||||||
|
# Queue type by name (default 'mem')
|
||||||
|
# The memory queue will present all available events (up to the outputs
|
||||||
|
# bulk_max_size) to the output, the moment the output is ready to server
|
||||||
|
# another batch of events.
|
||||||
|
mem:
|
||||||
|
# Max number of events the queue can buffer.
|
||||||
|
events: 4096
|
||||||
|
|
||||||
|
# Hints the minimum number of events stored in the queue,
|
||||||
|
# before providing a batch of events to the outputs.
|
||||||
|
# The default value is set to 2048.
|
||||||
|
# A value of 0 ensures events are immediately available
|
||||||
|
# to be sent to the outputs.
|
||||||
|
flush.min_events: 0
|
||||||
|
|
||||||
|
# Maximum duration after which events are available to the outputs,
|
||||||
|
# if the number of events stored in the queue is < `flush.min_events`.
|
||||||
|
flush.timeout: 0s
|
||||||
|
|
||||||
output.elasticsearch:
|
output.elasticsearch:
|
||||||
hosts: '[${ELASTICSEARCH_HOSTS:elasticsearch:9200}]'
|
hosts: '[${ELASTICSEARCH_HOSTS:elasticsearch:9200}]'
|
||||||
username: '${ELASTICSEARCH_USERNAME:}'
|
username: '${ELASTICSEARCH_USERNAME:}'
|
||||||
|
@ -100,6 +100,27 @@ setup:
|
|||||||
dashboards:
|
dashboards:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
|
||||||
|
# Internal queue configuration for buffering events to be published.
|
||||||
|
queue:
|
||||||
|
# Queue type by name (default 'mem')
|
||||||
|
# The memory queue will present all available events (up to the outputs
|
||||||
|
# bulk_max_size) to the output, the moment the output is ready to server
|
||||||
|
# another batch of events.
|
||||||
|
mem:
|
||||||
|
# Max number of events the queue can buffer.
|
||||||
|
events: 4096
|
||||||
|
|
||||||
|
# Hints the minimum number of events stored in the queue,
|
||||||
|
# before providing a batch of events to the outputs.
|
||||||
|
# The default value is set to 2048.
|
||||||
|
# A value of 0 ensures events are immediately available
|
||||||
|
# to be sent to the outputs.
|
||||||
|
flush.min_events: 0
|
||||||
|
|
||||||
|
# Maximum duration after which events are available to the outputs,
|
||||||
|
# if the number of events stored in the queue is < `flush.min_events`.
|
||||||
|
flush.timeout: 0s
|
||||||
|
|
||||||
output.elasticsearch:
|
output.elasticsearch:
|
||||||
hosts: '[${ELASTICSEARCH_HOSTS:elasticsearch:9200}]'
|
hosts: '[${ELASTICSEARCH_HOSTS:elasticsearch:9200}]'
|
||||||
username: '${ELASTICSEARCH_USERNAME:}'
|
username: '${ELASTICSEARCH_USERNAME:}'
|
||||||
|
Loading…
Reference in New Issue
Block a user