/ Jan 20th, 2021 /

Wildcards are now supported in component IDs

Wildcards allow for dynamic Vector topologies

PR 6170 introduced wildcards when referencing component IDs in the inputs option. This allows you to build dynamic topologies. This feature comes with one limitation: the wildcard must be at the end of the string.

[sources.app1_logs]
type = "file"
includes = ["/var/log/app1.log"]
[sources.app2_logs]
type = "file"
includes = ["/var/log/app.log"]
[sources.system_logs]
type = "file"
includes = ["/var/log/system.log"]
[sinks.app_logs]
type = "datadog_logs"
inputs = ["app*"]
[sinks.archive]
type = "aws_s3"
inputs = ["app*", "system_logs"]

This change was made available in 0.12.0. You can get this change by downloading the latest stable release.

Like What You See?