Update pipeline state
POST /pipeline/update
Update the state of the pipeline. All values that are not explicitly included in the request are left in their old state.
Authorizations
Request Body required
Body for the update endpoint
object
The id of the pipeline to be updated.
08446737-da9b-4787-8599-97d85c48c3bb
The updated definition of the pipeline.
export | where baz | publish /foo
The action that will change the pipeline’s running state.
start
Update the human-readable name of the pipeline to this value.
zeek-monitoring-pipeline
The user-provided labels for this pipeline.
object
The pipeline label text.
zeek
The pipeline label color.
3F1A24
Flags that specify on which state to restart the pipeline.
object
Autostart the pipeline upon creation.
true
Autostart 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.
true
Autodelete 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.
500ms
A flag specifying whether this pipeline is unstoppable. Unstoppable pipelines start automatically, fail when they complete, and can not be paused or stopped manually.
true
Responses
200
Success.
The updated pipeline.
object
object
The pipeline id.
The human-readable name of the pipeline.
The pipeline definition.
A flag specifying whether this pipeline is unstoppable. Unstoppable pipelines start automatically, fail when they complete, and can not be paused or stopped manually.
true
Whether this pipeline is hidden. Hidden pipelines are only available through the show pipelines
operator.
The Unix timestamp of the pipeline creation time in nanoseconds.
The Unix timestamp of the last pipeline modification in nanoseconds.
If the pipeline has been started, the ISO 8601 timestamp of the most recent start.
The total amount of runs this pipeline has attempted so far.
The error that the pipeline may have encountered during running.
object
unknown option `--frobnify`
object
A potentially empty label.
this option does not exist
A region in the source code, defined by byte offsets.
object
42
48
object
usage
file <path> [-f|--follow] [-m|--mmap] [-t|--timeout <duration>]
[1m[31merror[39m: unknown option `--frobnify`[0m
The user-provided labels for this pipeline.
object
The pipeline label text.
zeek
The pipeline label color.
3F1A24
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.
10s
Flags that specify on which state to restart the pipeline.
object
Autostart the pipeline upon creation.
true
Autostart 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.
true
Autodelete the pipeline when it stops before completing.
If a TTL exists for this pipeline, the TTL as a duration string.
2min
If a TTL exists for this pipeline, the remaining TTL as a duration string.
10s
400
Invalid arguments.
object
The error message.
Invalid arguments