Add support for skipping database creation (#3941)

This commit is contained in:
Daniel Nelson
2018-03-27 17:59:57 -07:00
committed by GitHub
parent 36b8220181
commit cc97b48ca8
2 changed files with 36 additions and 27 deletions

View File

@@ -17,6 +17,11 @@ This InfluxDB output plugin writes metrics to the [InfluxDB](https://github.com/
## The target database for metrics; will be created as needed.
# database = "telegraf"
## If true, no CREATE DATABASE queries will be sent. Set to true when using
## Telegraf with a user without permissions to create databases or when the
## database already exists.
# skip_database_creation = false
## Name of existing retention policy to write to. Empty string writes to
## the default retention policy.
# retention_policy = ""