SearchEvent
    • PDF

    SearchEvent

    • PDF

    기사 요약

    개요

    Event를 조회합니다.

    요청

    API URL

    URL: https://cw.apigw.gov-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.gov-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.