Amazon OpenSearch Ingestion 파이프라인 보기
AWS Management 콘솔, AWS CLI 또는 OpenSearch Ingestion API를 사용하여 Amazon OpenSearch Ingestion 파이프라인에 대한 세부 정보를 확인할 수 있습니다.
파이프라인을 보려면
-
https://console.aws.amazon.com/aos/home
에서 Amazon OpenSearch Service 콘솔에 로그인합니다. -
왼쪽 탐색 창에서 파이프라인을 선택합니다.
-
(선택 사항) 특정 상태의 파이프라인을 보려면 모든 상태를 선택하고 필터링 기준으로 사용할 상태를 선택합니다.
파이프라인은 다음과 같은 상태일 수 있습니다.
-
Active— 파이프라인이 활성 상태이며 데이터를 수집할 준비가 되었습니다. -
Creating— 파이프라인이 생성되고 있습니다. -
Updating— 파이프라인이 업데이트되고 있습니다. -
Deleting— 파이프라인이 삭제되고 있습니다. -
Create failed— 파이프라인을 생성할 수 없습니다. -
Update failed- 파이프라인을 업데이트할 수 없습니다. -
Stop failed- 파이프라인을 중지할 수 없습니다. -
Start failed- 파이프라인을 시작할 수 없습니다. -
Stopping— 파이프라인이 중지되고 있습니다. -
Stopped— 파이프라인이 중지되었으며 언제든지 다시 시작할 수 있습니다. -
Starting— 파이프라인이 시작되고 있습니다.
-
파이프라인이 Create
failed, Creating, Deleting, 및 Stopped 상태일 때는 Ingestion OCU에 대한 요금이 청구되지 않습니다.
AWS CLI을 사용하여 파이프라인을 보려면 list-pipelines 요청을 보내세요.
aws osis list-pipelines
요청은 기존의 모든 파이프라인 목록을 반환합니다.
{ "NextToken": null, "Pipelines": [ {, "CreatedAt": 1.671055851E9, "LastUpdatedAt": 1.671055851E9, "MaxUnits": 4, "MinUnits": 2, "PipelineArn": "arn:aws:osis:us-west-2:123456789012:pipeline/log-pipeline", "PipelineName": "log-pipeline", "Status": "ACTIVE", "StatusReason": { "Description": "The pipeline is ready to ingest data." } }, "CreatedAt": 1.671055851E9, "LastUpdatedAt": 1.671055851E9, "MaxUnits": 2, "MinUnits": 8, "PipelineArn": "arn:aws:osis:us-west-2:123456789012:pipeline/another-pipeline", "PipelineName": "another-pipeline", "Status": "CREATING", "StatusReason": { "Description": "The pipeline is being created. It is not able to ingest data." } } ] }
단일 파이프라인에 대한 정보를 가져오려면 get-pipeline 명령을 사용하세요.
aws osis get-pipeline --pipeline-name "my-pipeline"
요청은 지정된 파이프라인의 구성 정보를 반환합니다.
{ "Pipeline": { "PipelineName": "my-pipeline", "PipelineArn": "arn:aws:osis:us-east-1:123456789012:pipeline/my-pipeline", "MinUnits": 9, "MaxUnits": 10, "Status": "ACTIVE", "StatusReason": { "Description": "The pipeline is ready to ingest data." }, "PipelineConfigurationBody": "log-pipeline:\n source:\n http:\n processor:\n - grok:\n match:\nlog: [ '%{COMMONAPACHELOG}' ]\n - date:\n from_time_received: true\n destination: \"@timestamp\"\n sink:\n - opensearch:\n hosts: [ \"https://search-mdp-performance-test-duxkb4qnycd63rpy6svmvyvfpi.us-east-1.es.amazonaws.com\" ]\n index: \"apache_logs\"\n aws_sts_role_arn: \"arn:aws:iam::123456789012:role/my-domain-role\"\n aws_region: \"us-east-1\"\n aws_sigv4: true",, "CreatedAt": "2022-10-01T15:28:05+00:00", "LastUpdatedAt": "2022-10-21T21:41:08+00:00", "IngestEndpointUrls": [ "my-pipeline-123456789012.us-east-1.osis.amazonaws.com" ] } }
OpenSearch Ingestion API를 사용하여 OpenSearch Ingestion 파이프라인을 보려면 ListPipelines 및 GetPipeline 작업을 호출하세요.