mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-08-22 23:48:20 +02:00
Warn about two pipeline_settings combinations that stop a pipeline
Grid testing every permitted value on the manager pipeline surfaced two combinations the UI allows that take the pipeline down, neither of which the descriptions mentioned. pipeline.ordered: true requires pipeline.workers: 1; with more workers the pipeline fails to start with "enabling the 'pipeline.ordered' setting requires the use of a single pipeline worker". Also correct the auto wording: it only engages when workers is explicitly set to 1. queue.max_bytes larger than the free space on /nsm/logstash fails queue creation with "Unable to allocate N more bytes", rather than merely being inadvisable.
This commit is contained in:
@@ -103,8 +103,10 @@ logstash:
|
||||
helpLink: logstash
|
||||
pipeline_x_ordered:
|
||||
description: >-
|
||||
Whether event order is preserved through this pipeline. auto enables ordering only when the
|
||||
pipeline runs a single worker. Leave blank to use the value from logstash.yml.
|
||||
Whether event order is preserved through this pipeline. auto enables ordering only when
|
||||
pipeline.workers is explicitly set to 1, and does nothing otherwise. Setting this to true
|
||||
requires pipeline.workers to be 1 as well; with more workers this pipeline fails to start.
|
||||
Leave blank to use the value from logstash.yml.
|
||||
title: pipeline.ordered
|
||||
options:
|
||||
- ''
|
||||
@@ -157,8 +159,9 @@ logstash:
|
||||
queue_x_max_bytes:
|
||||
description: >-
|
||||
Total capacity of the persistent queue for this pipeline, in bytes. Only applies when
|
||||
queue.type is persisted. The disk backing /nsm/logstash must be larger than this value. If
|
||||
both queue.max_events and queue.max_bytes are set, whichever is reached first applies. Leave
|
||||
queue.type is persisted. The disk backing /nsm/logstash must have room for this much data or
|
||||
the pipeline fails to start, reporting that it was unable to allocate the space. If both
|
||||
queue.max_events and queue.max_bytes are set, whichever is reached first applies. Leave
|
||||
blank to use the value from logstash.yml.
|
||||
title: queue.max_bytes
|
||||
regex: '^$|^[0-9]+$|^[0-9]+(\.[0-9]+)?\s*(b|kb?|mb?|gb?|tb?|pb?)$'
|
||||
|
||||
Reference in New Issue
Block a user