Update a pipeline
PUT {{baseUrl}}/api/v1/logs/config/pipelines/:pipeline_id
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.
Request Body
{"name"=>"", "filter"=>{"query"=>"source:python"}, "id"=>"consequat elit non", "is_enabled"=>true, "is_read_only"=>true, "processors"=>[{"source"=>"message", "grok"=>{"match_rules"=>"rule_name_1 foo\nrule_name_2 bar\n", "support_rules"=>"rule_name_1 foo\nrule_name_2 bar\n"}, "type"=>"grok-parser", "is_enabled"=>false, "name"=>"nostrud Excepteur", "samples"=>["sit ea ullamco", "sunt est laboris"]}, {"source"=>"message", "grok"=>{"match_rules"=>"rule_name_1 foo\nrule_name_2 bar\n", "support_rules"=>"rule_name_1 foo\nrule_name_2 bar\n"}, "type"=>"grok-parser", "is_enabled"=>false, "name"=>"exercitation do Ut", "samples"=>["ut", "nulla tempor amet"]}], "type"=>"pipeline"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"name":"","filter":{"query":"source:python"},"id":"consequat elit non","is_enabled":true,"is_read_only":true,"processors":[{"source":"message","grok":{"match_rules":"rule_name_1 foo\nrule_name_2 bar\n","support_rules":"rule_name_1 foo\nrule_name_2 bar\n"},"type":"grok-parser","is_enabled":false,"name":"nostrud Excepteur","samples":["sit ea ullamco","sunt est laboris"]},{"source":"message","grok":{"match_rules":"rule_name_1 foo\nrule_name_2 bar\n","support_rules":"rule_name_1 foo\nrule_name_2 bar\n"},"type":"grok-parser","is_enabled":false,"name":"exercitation do Ut","samples":["ut","nulla tempor amet"]}],"type":"pipeline"}