-
-
Save perfectayush/3aaec7fd63439be69f07440f72b80ca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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