Created
December 2, 2016 14:34
-
-
Save zshamrock/4b1bb4a3c084d19b274b12b3a44f9481 to your computer and use it in GitHub Desktop.
Telegraf output plugins snippet
This file contains hidden or 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
[[outputs.influxdb]] | |
## The full HTTP or UDP endpoint URL for your InfluxDB instance. | |
## Multiple urls can be specified as part of the same cluster, | |
## this means that only ONE of the urls will be written to each interval. | |
# urls = [“udp://localhost:8089”] # UDP endpoint example | |
urls = [“http://localhost:8086"] # required | |
## The target database for metrics (telegraf will create it if not exists). | |
database = “telegraf” # required | |
## Retention policy to write to. Empty string writes to the default rp. | |
retention_policy = “” | |
## Write consistency (clusters only), can be: “any”, “one”, “quorum”, “all” | |
write_consistency = “any” |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment