Get pipeline
Use the get ingest pipeline API operation to retrieve all the information about the pipeline.
Retrieving information about all pipelines
The following example request returns information about all ingest pipelines:
GET _ingest/pipeline/
copy
Retrieving information about a specific pipeline
The following example request returns information about a specific pipeline, which for this example is my-pipeline
:
GET _ingest/pipeline/my-pipeline
copy
The response contains the pipeline information:
{
"my-pipeline": {
"description": "This pipeline processes student data",
"processors": [
{
"set": {
"description": "Sets the graduation year to 2023",
"field": "grad_year",
"value": 2023
}
},
{
"set": {
"description": "Sets graduated to true",
"field": "graduated",
"value": true
}
},
{
"uppercase": {
"field": "name"
}
}
]
}
}
当前内容版权归 OpenSearch 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 OpenSearch .