Ingest pipeline set processor error; [value] required property is missing

I am trying to add a field as below within one of our ingest pipelines

"set": {
        "field": "upstream_response_time_int",
        "copy_from": "upstream_response_time"
 }

But it gives the below error even though the docs say either copy_from or value only one needs to be specified ? Can someone please help ?

{
  "error" : {
    "root_cause" : [
      {
        "type" : "parse_exception",
        "reason" : "[value] required property is missing",
        "processor_type" : "set",
        "property_name" : "value"
      }
    ],
    "type" : "parse_exception",
    "reason" : "[value] required property is missing",
    "processor_type" : "set",
    "property_name" : "value"
  },
  "status" : 400
}

What version are you using?
copy_from without value worked in my cluster of 7.16.3.

7.6.2

Should I upgrade my ES version ?

My bad looks like copy_from option doesn't exist in 7.6.x version

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.