Skip to content

Instantly share code, notes, and snippets.

@perfectayush

perfectayush/test.toml Secret

Created Aug 18, 2020
Embed
What would you like to do?
[sources.generator]
type = "generator"
lines = ["Line 1", "Line 2"]
batch_interval = 1
[transforms.transform]
type = "add_fields"
inputs = ["generator"]
overwrite = true
fields.string_field = "string value"
[sources.internal_metrics]
type = "internal_metrics"
[sinks.statsd]
type = "statsd"
inputs = ["internal_metrics"]
namespace = "test"
address = "127.0.0.1:8125"
[sinks.stdout]
type = "console"
inputs = ["internal_metrics", "transform"]
target = "stdout"
encoding = "json"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment