Amazon OpenSearch Ingestion パイプラインの表示 - Amazon OpenSearch サービス

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

Amazon OpenSearch Ingestion パイプラインの表示

Amazon OpenSearch Ingestion パイプラインの詳細は、AWS Management Console、AWS CLI、または OpenSearch Ingestion API を使用して表示できます。

パイプラインを表示するには
  1. Amazon OpenSearch Service コンソール (https://console.aws.amazon.com/aos/home) にサインインします。

  2. 左側のナビゲーションペインで [パイプライン] をクリックします。

  3. (オプション) 特定のステータスのパイプラインを表示するには、[任意のステータス] をクリックし、フィルタリングするステータスを選択します。

    パイプラインには、次のステータスがあります。

    • Creating - パイプラインを作成中です。

    • Active - パイプラインはアクティブで、データを取り込む準備ができています。

    • Updating - パイプラインを更新中です。

    • Deleting - パイプラインを削除中です。

    • Create failed - パイプラインを作成できませんでした。

    • Update failed - パイプラインを更新できませんでした。

    • Starting - パイプラインを開始中です。

    • Start failed - パイプラインを開始できませんでした。

    • Stopping - パイプラインを停止中です。

    • Stopped - パイプラインは停止中で、いつでも再開できます。

パイプラインのステータスが Create failedCreatingDeletingStopped の場合は、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." } } ] }

1 つのパイプラインに関する情報を取得するには、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 オペレーションを呼び出します。