removed host and token parameters from to function, resolves #233

pull/235/head
Scott Anderson 2019-05-13 13:34:28 -06:00
parent 966cfd29d3
commit fb272bce5e
1 changed files with 2 additions and 6 deletions

View File

@ -18,8 +18,6 @@ _**Function type:** Output_
to( to(
bucket: "my-bucket", bucket: "my-bucket",
org: "my-org", org: "my-org",
host: "http://example.com:8086",
token: "xxxxxx",
timeColumn: "_time", timeColumn: "_time",
tagColumns: ["tag1", "tag2", "tag3"], tagColumns: ["tag1", "tag2", "tag3"],
fieldFn: (r) => ({ [r._field]: r._value }) fieldFn: (r) => ({ [r._field]: r._value })
@ -30,8 +28,6 @@ to(
to( to(
bucketID: "1234567890", bucketID: "1234567890",
orgID: "0987654321", orgID: "0987654321",
host: "http://example.com:8086",
token: "xxxxxx",
timeColumn: "_time", timeColumn: "_time",
tagColumns: ["tag1", "tag2", "tag3"], tagColumns: ["tag1", "tag2", "tag3"],
fieldFn: (r) => ({ [r._field]: r._value }) fieldFn: (r) => ({ [r._field]: r._value })
@ -83,7 +79,7 @@ Mutually exclusive with `org`.
_**Data type:** String_ _**Data type:** String_
### host <!-- ### host
The remote InfluxDB host to which to write. The remote InfluxDB host to which to write.
_If specified, a `token` is required._ _If specified, a `token` is required._
@ -93,7 +89,7 @@ _**Data type:** String_
The authorization token to use when writing to a remote host. The authorization token to use when writing to a remote host.
_Required when a `host` is specified._ _Required when a `host` is specified._
_**Data type:** String_ _**Data type:** String_ -->
### timeColumn ### timeColumn
The time column of the output. The time column of the output.