SearchEvent
    • PDF

    SearchEvent

    • PDF

    Article summary

    Summary

    This API queries events.

    Request

    API URL

    URL: https://cw.apigw.ntruss.com/cw_fea/real/cw/api/event/search
    Method: POST
    

    Request header

    The request headers specified in common settings are required.

    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}
    

    Request Body

    EventSearchRequest

    Example

    Request example

    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
    }
    
    

    Response example

    {
      "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
    }
    

    Was this article helpful?

    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.