detach
Starts a pipeline in the node.
pipeline::detach { … }, [id=string]
Description
Section titled “Description”The pipeline::detach
operator starts a hidden managed pipeline in the node,
and returns as soon as the pipeline has started.
id = string (optional)
Section titled “id = string (optional)”Sets the pipeline’s ID explicitly, instead of assigning a random ID. This
corresponds to the id
field in the output of pipeline::list
, and the
pipeline_id
field in the output of metrics
and diagnostics
.
Examples
Section titled “Examples”Run a pipeline in the background
Section titled “Run a pipeline in the background”pipeline::detach { every 1min { version } select version write_lines save_stdout}