

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

# Amazon OpenSearch Service での通知
<a name="managedomains-notifications"></a>

Amazon OpenSearch Service の通知には、ドメインのパフォーマンスとヘルスに関する重要な情報が含まれています。OpenSearch Service は、サービスソフトウェアの更新、自動チューニングの強化、クラスターヘルスイベント、およびドメインエラーについて通知します。通知は、すべてのバージョンの OpenSearch および Elasticsearch OSS で利用できます。

通知は、OpenSearch Service コンソールの **[Notifications]** (通知) パネルで確認できます。OpenSearch サービスの通知はすべて [Amazon EventBridge](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-what-is.html) にも表示されます。通知とサンプルイベントの完全なリストについては、「[Amazon EventBridge を用いた OpenSearch Service イベントのモニタリング](monitoring-events.md)」を参照してください。

## 通知の使用開始
<a name="managedomains-notifications-start"></a>

通知は、ドメインの作成時に自動的に有効になります。OpenSearch Service コンソールの**通知**パネルに進み、通知のモニタリングと確認を行います。各通知には、通知が投稿された時刻、関連するドメイン、重要度とステータスレベル、簡単な説明などの情報が含まれます。コンソールでは、最大 90 日間の履歴通知を表示できます。

[**通知**] パネルにアクセスした後または通知を確認した後に、`es:ListNotificationsV2` または `es:UpdateNotificationStatus` を実行するアクセス許可がないことを示すエラーメッセージが表示されることがあります。この問題を解決するには、IAM でユーザーまたはロールに次のアクセス許可を付与します。

------
#### [ JSON ]

****  

```
{
  "Version":"2012-10-17",		 	 	 
  "Statement": [{
    "Effect": "Allow",
    "Action": [
      "es:DescribeDomain",
      "es:ListDomainNames"
    ],
    "Resource": "arn:aws:es:*:{{111122223333}}:domain/*"
  }]
}
```

------

IAM コンソールは、エラー (「IAM does not recognize one or more actions.」) をスローしますが、このエラーは安全に無視できます。また、特定のドメインに対する `es:UpdateNotificationStatus` アクションを制限することもできます。詳細については[ポリシーエレメントのリファレンス](ac.md#ac-reference)を参照してください。

## 通知重要度
<a name="managedomains-notifications-severities"></a>

OpenSearch サービスでの通知は、すでに実行されているアクションまたはドメインのオペレーションに関連する [*情報*]、または特定のアクション (必須のセキュリティパッチの適用など) を取る必要のある [*実用的*] です。各通知には、重要度 (`Informational`、`Low`、`Medium`、`High`、または `Critical`) が関連付けられています。次の表に重大度の一覧を示します。


| 緊急度 | 説明 | 例 | 
| --- | --- | --- | 
| Informational | ドメインのオペレーションに関連する情報。 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/managedomains-notifications.html)  | 
| Low | 推奨されるアクションですが、アクションを行わない場合、ドメインの可用性やパフォーマンスに悪影響を及ぼしません。 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/managedomains-notifications.html)  | 
| Medium | 推奨されるアクションが実行されないが、アクションが実行されるまでの時間枠が長くなった場合、影響が生じる可能性があります。 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/managedomains-notifications.html)  | 
| High | 悪影響を避けるためには、緊急のアクションが必要です。 |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/ja_jp/opensearch-service/latest/developerguide/managedomains-notifications.html)  | 
| Critical | 悪影響を避けるために、またはそこから回復するために、即時のアクションが必要です。 | 現在利用可能なものはありません | 

## サンプル EventBridge イベント
<a name="managedomains-notifications-cloudwatch"></a>

次の例は、Amazon EventBridge に送信される OpenSearch Service の通知イベントを示しています。更新はオプションでなので、通知の重要度は `Informational` です。

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-012345678901",
  "detail-type": "Amazon OpenSearch Service Software Update Notification",
  "source": "aws.es",
  "account": "123456789012",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": ["arn:aws:es:us-east-1:123456789012:domain/test-domain"],
  "detail": {
    "event": "Service Software Update",
    "status": "Available",
    "severity": "Informational",
    "description": "Service software update [R20200330-p1] available."
  }
}
```