diff --git a/specification/_json_spec/bulk.json b/specification/_json_spec/bulk.json index 3444e1c017..8e35c3fbf1 100644 --- a/specification/_json_spec/bulk.json +++ b/specification/_json_spec/bulk.json @@ -73,6 +73,10 @@ "list_executed_pipelines": { "type": "boolean", "description": "Sets list_executed_pipelines for all incoming documents. Defaults to unset (false)" + }, + "include_source_on_error": { + "type": "boolean", + "description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true." } }, "body": { diff --git a/specification/_json_spec/create.json b/specification/_json_spec/create.json index 0b5f6dda34..ffa5e0f26e 100644 --- a/specification/_json_spec/create.json +++ b/specification/_json_spec/create.json @@ -58,6 +58,10 @@ "pipeline": { "type": "string", "description": "The pipeline id to preprocess incoming documents with" + }, + "include_source_on_error": { + "type": "boolean", + "description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true." } }, "body": { diff --git a/specification/_json_spec/index.json b/specification/_json_spec/index.json index e6a900e9d8..3c3df4f67a 100644 --- a/specification/_json_spec/index.json +++ b/specification/_json_spec/index.json @@ -89,6 +89,10 @@ "require_data_stream": { "type": "boolean", "description": "When true, requires the destination to be a data stream (existing or to-be-created). Default is false" + }, + "include_source_on_error": { + "type": "boolean", + "description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true." } }, "body": { diff --git a/specification/_json_spec/update.json b/specification/_json_spec/update.json index c95c11e8af..de6ce04872 100644 --- a/specification/_json_spec/update.json +++ b/specification/_json_spec/update.json @@ -77,6 +77,10 @@ "require_alias": { "type": "boolean", "description": "When true, requires destination is an alias. Default is false" + }, + "include_source_on_error": { + "type": "boolean", + "description": "True or false if to include the document source in the error message in case of parsing errors. Defaults to true." } }, "body": {