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