본문 바로가기
WIKI 기술 지식 베이스

Get pipeline

원문 보기 위키 갱신

출처: 문서

본문

파이프라인 조회

1.0에서 도입됨 {: .label .label-purple }

get ingest pipeline API 작업을 사용하면 파이프라인에 대한 모든 정보를 조회할 수 있어요.

모든 파이프라인에 대한 정보 조회

다음 예제 요청은 모든 ingest 파이프라인에 대한 정보를 반환해요:

GET _ingest/pipeline/

{% include copy-curl.html %}

특정 파이프라인에 대한 정보 조회

다음 예제 요청은 특정 파이프라인에 대한 정보를 반환해요. 이 예제에서 파이프라인은 my-pipeline이에요:

GET _ingest/pipeline/my-pipeline

{% include copy-curl.html %}

응답에는 파이프라인 정보가 담겨 있어요:

{
  "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"
        }
      }
    ]
  }
}

더 알아보기 (Learn more)