Skip to content

Commit

Permalink
Update documentation for Set Processor (elastic#99191)
Browse files Browse the repository at this point in the history
  • Loading branch information
P1llus authored Sep 7, 2023
1 parent 9f5ff0c commit 4b41b17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference/ingest/processors/set.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ its value will be replaced with the provided one.
| `value` | yes* | - | The value to be set for the field. Supports <<template-snippets,template snippets>>. May specify only one of `value` or `copy_from`.
| `copy_from` | no | - | The origin field which will be copied to `field`, cannot set `value` simultaneously. Supported data types are `boolean`, `number`, `array`, `object`, `string`, `date`, etc.
| `override` | no | `true` | If `true` processor will update fields with pre-existing non-null-valued field. When set to `false`, such fields will not be touched.
| `ignore_empty_value` | no | `false` | If `true` and `value` is a <<template-snippets,template snippet>> that evaluates to `null` or the empty string, the processor quietly exits without modifying the document
| `ignore_empty_value` | no | `false` | If `true` and used in combination with `value` which is a <<template-snippets,template snippet>> that evaluates to `null` or an empty string, the processor quietly exits without modifying the document. Similarly, if used in combination with `copy_from` it will quietly exit if the field does not exist or its value evaluates to `null` or an empty string.
| `media_type` | no | `application/json` | The media type for encoding `value`. Applies only when `value` is a <<template-snippets,template snippet>>. Must be one of `application/json`, `text/plain`, or `application/x-www-form-urlencoded`.
include::common-options.asciidoc[]
|======
Expand Down

0 comments on commit 4b41b17

Please sign in to comment.