-
QuestionI am using vector 0.48.0. I am trying to enable disk buffering for the elasticsearch sink, but when I specify a type for the buffer it gets rejected. Curiously it also rejects me specifying the buffer type as "memory". The docs website shows it as an option. Is this option supported for the elasticsearch sink or am I doing something wrong? Vector Config[sources.http_logs] [transforms.set_index] ts = parse_timestamp(.timestamp, "%+") ?? now() year = format_timestamp(ts, "%Y") ?? "year" ."@timestamp" = ts ============== Sinks ==============[sinks.to_elasticsearch] [sinks.to_elasticsearch.auth] [sinks.to_elasticsearch.tls] [sinks.to_elasticsearch.bulk] Vector Logs2025-07-30T15:35:17.523108Z ERROR vector::cli: Configuration error. error=data did not match any variant of untagged enum BufferConfig in |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I was being a dummy, I simply needed to provide the "max_size" field as a number and not a string. All is well |
Beta Was this translation helpful? Give feedback.
I was being a dummy, I simply needed to provide the "max_size" field as a number and not a string. All is well