Edit task documentation

pull/554/head
pierwill 2019-10-30 11:47:43 -07:00
parent 2e5d908776
commit 8958fd2ebd
1 changed files with 2 additions and 3 deletions

View File

@ -101,7 +101,7 @@ _See [Common tasks](/v2.0/process-data/common-tasks) for examples of tasks commo
## Define a destination
In the vast majority of task use cases, once data is transformed, it needs to sent and stored somewhere.
This could be a separate bucket with a different retention policy, another measurement, or even an alert endpoint _(Coming)_.
This could be a separate bucket, another measurement, or even an alert endpoint _(Coming)_.
The example below uses Flux's [`to()` function](/v2.0/reference/flux/stdlib/built-in/outputs/to)
to send the transformed data to another bucket:
@ -119,8 +119,7 @@ to send the transformed data to another bucket:
{{% /note %}}
## Full example task script
Below is the full example task script that combines all of the components described above:
Below is a task script that combines all of the components described above:
```js
// Task options