/ 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.

type = "file"
includes = ["/var/log/app1.log"]
type = "file"
includes = ["/var/log/app.log"]
type = "file"
includes = ["/var/log/system.log"]
type = "datadog_logs"
inputs = ["app*"]
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?