SearchEvent
- 印刷する
- PDF
SearchEvent
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
概要
Eventを照会します。
リクエスト
API URL
URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/event/search
Method: POST
リクエストヘッダ
共通設定に明示されたリクエストヘッダが必要です。
Content-Type: application/json
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
リクエストボディ
例
リクエスト例
POST /cw_fea/real/cw/api/event/search
Host: cw.apigw.ntruss.com
Content-Type: application/json
x-ncp-apigw-signature-v2: {generated signature}
x-ncp-apigw-timestamp: {current timestamp}
x-ncp-iam-access-key: {your iam access key}
Payload:
{
"endTime": 1596084960000,
"startTime": 1596081360000
}
レスポンス例
{
"events": [
{
"calc": "AVG",
"calcSlidingGroupKey": "",
"criteria": 0,
"detectValue": 0.7944445,
"dimension": {
"instanceNo": "xxxxxxx",
"type": "svr"
},
"endTime": 0,
"eventId": "xxxxxxxxxxxxxxxxxx",
"eventLevel": "INFO",
"metric": "avg_write_cnt",
"notificationGroups": "Recipient: NotiGrp001",
"operator": "GE",
"prodKey": "xxxxxxxxxxxxxxxxxx",
"prodName": "System/Server",
"resourceName": "svr-pub",
"ruleId": "xxxxxxxxxxxxxxxxxx",
"ruleName": "rule002",
"startTime": 1596088621223
},
{
"calc": "AVG",
"calcSlidingGroupKey": "",
"criteria": 0,
"detectValue": 3.1547887,
"dimension": {
"instanceNo": "xxxxxxx",
"type": "memory"
},
"endTime": 0,
"eventId": "xxxxxxxxxxxxxxxxxx",
"eventLevel": "INFO",
"metric": "mem_usert",
"notificationGroups": "Recipient: NotiGrp001",
"operator": "GE",
"prodKey": "xxxxxxxxxxxxxxxxxx",
"prodName": "System/Server",
"resourceName": "svr-pub",
"ruleId": "xxxxxxxxxxxxxxxxxx",
"ruleName": "rule001",
"startTime": 1596084660334
}
],
"pageNum": 1,
"pageSize": 20,
"totalRecords": 2
}
この記事は役に立ちましたか?