v1

latestOpenAPI 3.0.02026-07-142351,1971.3 MB
Logs Pipelines

Update a pipeline

Update a given pipeline configuration to change it’s processors or their order.

Note: Using this method updates your pipeline configuration by replacing your current configuration with the new one sent to your Datadog organization.

put/api/v1/logs/config/pipelines/{pipeline_id}

Path parameters

pipeline_idstring required

ID of the pipeline to delete.

Request body

descriptionstring

A description of the pipeline.

idstring

ID of the pipeline.

is_enabledboolean

Whether or not the pipeline is enabled.

is_read_onlyboolean

Whether or not the pipeline can be edited.

namestring required

Name of the pipeline.

tagsstring[]

A list of tags associated with the pipeline.

typestring

Type of pipeline.

Example request

{
  "filter": {
    "query": "source:python"
  },
  "processors": [
    {
      "grok": {
        "match_rules": "rule_name_1 foo\nrule_name_2 bar",
        "support_rules": "rule_name_1 foo\nrule_name_2 bar"
      },
      "source": "message",
      "type": "grok-parser"
    }
  ],
  "type": "pipeline"
}

Response

OK

descriptionstring

A description of the pipeline.

idstring

ID of the pipeline.

is_enabledboolean

Whether or not the pipeline is enabled.

is_read_onlyboolean

Whether or not the pipeline can be edited.

namestring required

Name of the pipeline.

tagsstring[]

A list of tags associated with the pipeline.

typestring

Type of pipeline.

Example response

{
  "filter": {
    "query": "source:python"
  },
  "processors": [
    {
      "grok": {
        "match_rules": "rule_name_1 foo\nrule_name_2 bar",
        "support_rules": "rule_name_1 foo\nrule_name_2 bar"
      },
      "source": "message",
      "type": "grok-parser"
    }
  ],
  "type": "pipeline"
}