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}
    

    リクエストボディ

    EventSearchRequest

    リクエスト例

    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
    }
    

    この記事は役に立ちましたか?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.