Complete the code to define an enrich policy named 'user-policy'.
PUT /_enrich/policy/[1]The enrich policy name must be 'user-policy' to match the example.
Complete the code to create an enrich index from the policy.
POST /_enrich/policy/[1]/_executeThe enrich index is created by executing the 'user-policy'.
Fix the error in the enrich processor configuration to use the correct policy name.
"enrich": { "policy_name": "[1]", "field": "user_id", "target_field": "user_info" }
The enrich processor uses the policy name 'user-policy'.
Fill both blanks to complete the enrich processor in an ingest pipeline.
{
"processors": [
{
"enrich": {
"policy_name": "[1]",
"field": "user_id",
"target_field": "[2]"
}
}
]
}The enrich processor must use the correct policy name 'user-policy' and a target field like 'user_info' to store enriched data.
Fill all three blanks to create a complete enrich processor with a match field and ignore missing option.
{
"processors": [
{
"enrich": {
"policy_name": "[1]",
"field": "[2]",
"ignore_missing": [3]
}
}
]
}The enrich processor uses 'user-policy' as the policy, 'user_id' as the match field, and 'ignore_missing' set to true to avoid errors if the field is missing.