Josh Baird
07/24/2023, 6:37 PMbuffer plugin isn't adding the required @type attribute to the matcher that it generates.Josh Baird
07/24/2023, 6:37 PM<match **>
@id ClusterFluentdConfig-cluster-cluster-fluentd-config::cluster::clusteroutput::datadog-0
<buffer>
@type memory
chunk_limit_size 20MB
flush_interval 3s
path /buffers/fluentd/log
retry_forever true
timekey 5s
timekey_wait 2s
</buffer>
</match>Josh Baird
07/24/2023, 6:38 PMfluentd-0 fluentd 2023-07-24 18:34:09 +0000 [error]: config error file="/fluentd/etc/fluent.conf" error_class=Fluent::ConfigError error="Missing '@type' parameter on <match> directive"Josh Baird
07/24/2023, 6:45 PMJosh Baird
07/24/2023, 6:57 PMapiVersion: <http://fluentd.fluent.io/v1alpha1|fluentd.fluent.io/v1alpha1>
kind: ClusterOutput
metadata:
name: datadog
labels:
<http://output.fluentd.fluent.io/scope|output.fluentd.fluent.io/scope>: "cluster"
<http://output.fluentd.fluent.io/enabled|output.fluentd.fluent.io/enabled>: "true"
spec:
outputs:
- buffer:
id: test
type: memory
# chunkLimitRecords: "500MB"
chunkLimitSize: 20MB
flushInterval: 3s
retryForever: true
timekey: 5s
timekeyWait: 2sJosh Baird
07/25/2023, 2:42 PM