You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create Database if it doesn't exist
_, e := c.Query(client.Query{
Command: fmt.Sprintf("CREATE DATABASE IF NOT EXISTS %s", i.Database),
})
The database name needs to be captured in double quotes. Any database with special characters (i.e. '-') will not be created and, surprisingly enough, does not produce an error in the query call. The result is failed writes to InfluxDb.
The text was updated successfully, but these errors were encountered:
In
plugins.outputs.influxdb.influxdb.go
The database name needs to be captured in double quotes. Any database with special characters (i.e. '-') will not be created and, surprisingly enough, does not produce an error in the query call. The result is failed writes to InfluxDb.
The text was updated successfully, but these errors were encountered: