-
Notifications
You must be signed in to change notification settings - Fork 286
Logstash Pipeline settings builder generates invalid values for logstash pipeline queues #653
Copy link
Copy link
Closed
Description
Java API client version
All versions of 8.x, since at least 7.15
Java version
Any
Elasticsearch Version
All versions of 8.x, since at least 7.15
Problem description
The logstash builder has methods queueMaxBytesNumber and queueMaxBytesUnits, which serializes as
queue.max_bytes.number and queue.max_bytes.units, which are not valid logstash pipeline settings, and generate the following warnings when logstash starts up:
{"level":"WARN","loggerName":"logstash.configmanagement.elasticsearchsource","timeMillis":1692039467779,"thread":"Agent thread","logEvent":{"message":"Ignoring unsupported or unknown pipeline settings 'queue.max_bytes.number'"}}
{"level":"WARN","loggerName":"logstash.configmanagement.elasticsearchsource","timeMillis":1692039467779,"thread":"Agent thread","logEvent":{"message":"Ignoring unsupported or unknown pipeline settings 'queue.max_bytes.units'"}}
Additionally, the correct value of queue.max_bytes - which is a concatenated version of the two values (eg 1024mb) is not serialized, meaning that the disk queue cannot be set using this method
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.