Complete the code to specify the pipeline ID for testing.
{
"pipeline_id": "[1]"
}The pipeline_id must match the pipeline you want to test. Here, test_pipeline is the correct ID.
Complete the code to provide the document to test in the pipeline.
{
"docs": [
{
"_source": [1]
}
]
}The document must be a JSON object. Option A is a valid JSON object with a message field.
Fix the error in the pipeline test request by completing the missing field.
{
"pipeline": "[1]",
"docs": [
{
"_source": {"user": "alice"}
}
]
}The pipeline field must contain the exact pipeline name to test. Here, test_pipeline is the correct name.
Fill both blanks to create a pipeline test request with a pipeline ID and a document containing a field.
{
"pipeline": "[1]",
"docs": [
{
"_source": {"[2]": "value"}
}
]
}The pipeline ID is test_pipeline and the document field is message with value value.
Fill all three blanks to create a pipeline test request with a pipeline ID, a document field, and a nested field value.
{
"pipeline": "[1]",
"docs": [
{
"_source": {
"[2]": {
"nested_field": "[3]"
}
}
}
]
}The pipeline ID is test_pipeline, the document field is user, and the nested field value is active.