POST /pipeline/create
Creates a new pipeline. If autostart.created is true, the response is only sent after the pipeline was successfully started. If this fails, then the pipeline is immediately discarded, and the response contains the observed diagnostics. The error field then contains a rendered representation of the diagnostics. Otherwise, the diagnostics field is not present.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
The id of the pipeline to be updated. If not provided, a random id will be generated.
Example
08446737-da9b-4787-8599-97d85c48c3bbThe pipeline definition.
Example
export | where foo | publish /barThe human-readable name of the pipeline.
Example
zeek-monitoring-pipelineA flag specifying whether this pipeline is hidden. Hidden pipelines start automatically, are not persisted, and will not show up in the /pipeline/list endpoint response.
A duration string specifying the maximum time for this pipeline to
exist. No value means the pipeline is allowed to exist forever.
This parameter must be defined if the hidden parameter is true.
Example
5minFlags that specify on which state to restart the pipeline.
object
Autostart the pipeline upon creation.
Example
trueAutostart the pipeline upon completion.
Autostart the pipeline upon failure.
Flags that specify on which state to delete the pipeline.
object
Autodelete the pipeline upon completion.
Autodelete the pipeline upon failure.
Example
trueAutodelete the pipeline when it stops before completing.
A duration string specifying the minimum time between automatic restarts of a pipeline when an error occurs. Takes no effect if restarting on failure is disabled.
Example
500msA flag specifying whether this pipeline is unstoppable. Unstoppable pipelines start automatically, fail when they complete, and can not be paused or stopped manually.
Example
trueResponses
Section titled “ Responses ”Success.
object
The id of the successfully created pipeline.
Invalid arguments or invalid pipeline.
object
The error message.
Example
Invalid argumentsobject
Example
unknown option `--frobnify`object
A potentially empty label.
Example
this option does not existA region in the source code, defined by byte offsets.
object
Example
42Example
48object
Example
usageExample
file <path> [-f|--follow] [-m|--mmap] [-t|--timeout <duration>]Example
[1m[31merror[39m: unknown option `--frobnify`[0m