diff --git a/plugins/outputs/influxdb/influxdb.go b/plugins/outputs/influxdb/influxdb.go index 059f126d6..3b5e55ed2 100644 --- a/plugins/outputs/influxdb/influxdb.go +++ b/plugins/outputs/influxdb/influxdb.go @@ -133,7 +133,7 @@ func (i *InfluxDB) Connect() error { } if i.InsecureFollowRedirect { - c.Ping(10) + c.CheckHTTPRedirect() } err = createDatabase(c, i.Database)