

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# Amazon EventBridge를 사용하여 OpenSearch 서버리스 이벤트 모니터링
<a name="serverless-monitoring-events"></a>

Amazon OpenSearch Service는 Amazon EventBridge와 통합하여 도메인에 영향을 주는 특정 이벤트를 사용자에게 알립니다. AWS 서비스의 이벤트는 거의 실시간으로 EventBridge로 전달됩니다. 동일한 이벤트가 Amazon EventBridge 이전 버전인 [Amazon CloudWatch Events](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatchEvents.html)에도 전송됩니다. 원하는 이벤트만 표시하도록 규칙을 작성한 후 규칙과 일치하는 이벤트 발생 시 실행할 자동화 작업을 지정할 수 있습니다. 자동으로 활성화할 수 있는 작업의 예는 다음과 같습니다.
+  AWS Lambda 함수 호출
+ Amazon EC2 Run Command 호출
+ Amazon Kinesis Data Streams로 이벤트 릴레이
+  AWS Step Functions 상태 시스템 활성화
+ SNS 주제 또는 Amazon SQS 대기열 알림

자세한 내용은 *Amazon EventBridge 사용 설명서*의 [Amazon EventBridge 시작하기](https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-get-started.html)를 참조하세요.

## 알림 설정
<a name="monitoring-events-notifications"></a>

[AWS 사용자 알림](https://docs.aws.amazon.com/notifications/latest/userguide/what-is-service.html)을 사용하여 OpenSearch Serverless 이벤트 발생 시 알림을 받을 수 있습니다. 이벤트는 OCU 사용량이 최대 한도에 도달했을 때와 같이 OpenSearch Serverless 환경의 변화를 나타내는 지표입니다. Amazon EventBridge 은 이벤트를 수신하고 AWS Management Console 알림 센터 및 선택한 전송 채널로 알림을 라우팅합니다. 이벤트가 지정한 규칙과 일치하면 알림을 받습니다.

## OpenSearch Compute Units(OCU) 이벤트
<a name="monitoring-events-ocu"></a>

OpenSearch 서버리스는 다음 OCU 관련 이벤트가 발생할 때 EventBridge에 이벤트를 보냅니다.

### OCU 사용량이 최대 한도에 근접함
<a name="monitoring-events-ocu-approaching-max"></a>

OpenSearch 서버리스는 검색 또는 인덱스 OCU 사용량이 용량 제한의 75%에 도달하면 이 이벤트를 전송합니다. OCU 사용량은 구성된 용량 제한과 현재 OCU 사용량을 기준으로 계산됩니다.

**예제**

다음은 이러한 유형의 이벤트 예입니다(검색 OCU).

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-012345678901",
  "detail-type": "OCU Utilization Approaching Max Limit",
  "source": "aws.aoss",
  "account": "123456789012",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": ["arn:aws:es:us-east-1:123456789012:domain/test-domain"],
  "detail": {
    "eventTime" : 1678943345789,
    "description": "Your search OCU usage is at 75% and is approaching the configured maximum limit."
  }
}
```

다음은 이러한 유형의 이벤트 예입니다(인덱스 OCU).

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-012345678901",
  "detail-type": "OCU Utilization Approaching Max Limit",
  "source": "aws.aoss",
  "account": "123456789012",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": ["arn:aws:es:us-east-1:123456789012:domain/test-domain"],
  "detail": {
    "eventTime" : 1678943345789,
    "description": "Your indexing OCU usage is at 75% and is approaching the configured maximum limit."
  }
```

### OCU 사용량이 최대 한도에 도달했습니다.
<a name="monitoring-events-ocu-approaching-max"></a>

OpenSearch 서버리스는 검색 또는 인덱스 OCU 사용량이 용량 제한의 100%에 도달하면 이 이벤트를 전송합니다. OCU 사용량은 구성된 용량 제한과 현재 OCU 사용량을 기준으로 계산됩니다.

**예제**

다음은 이러한 유형의 이벤트 예입니다(검색 OCU).

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-012345678901",
  "detail-type": "OCU Utilization Reached Max Limit",
  "source": "aws.aoss",
  "account": "123456789012",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": ["arn:aws:es:us-east-1:123456789012:domain/test-domain"],
  "detail": {
    "eventTime" : 1678943345789,
    "description": "Your search OCU usage has reached the configured maximum limit."
  }
}
```

다음은 이러한 유형의 이벤트 예입니다(인덱스 OCU).

```
{
  "version": "0",
  "id": "01234567-0123-0123-0123-012345678901",
  "detail-type": "OCU Utilization Reached Max Limit",
  "source": "aws.aoss",
  "account": "123456789012",
  "time": "2016-11-01T13:12:22Z",
  "region": "us-east-1",
  "resources": ["arn:aws:es:us-east-1:123456789012:domain/test-domain"],
  "detail": {
    "eventTime" : 1678943345789,
    "description": "Your indexing OCU usage has reached the configured maximum limit."
  }
}
```