All Products
Search
Document Center

Security Center:GetHoneypotNodeMetricList

Last Updated:Feb 20, 2024

Queries the monitoring data of management nodes to which the cloud honeypot belongs.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
NodeIdstringNo

The management node ID.

cc427e14-f257-4670-9d2b-d83bbbe7****
ExpressstringNo

The expression that is used to compute the query results in real time.

Note Only the groupby expression is supported. This expression is similar to the GROUP BY statement that applies to databases.
{"groupby":["userId","instanceId"]}
StartTimestringNo

The beginning of the time range to query. The following formats are supported:

  • UNIX timestamp: the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC
  • Date format: YYYY-MM-DDThh:mm:ssZ
  • The interval between the start time and the end time is less than or equal to 31 days.
2019-01-30 00:00:00
MetricNamestringNo

The metric that is used to monitor the cloud service.

cpu_total
PeriodstringNo

The time interval. Unit: seconds. Valid values: 60, 300, and 900.

60
LengthstringNo

The number of entries per page.

Note The maximum value of the Length parameter in a request is 1440.
100
EndTimestringNo

The end of the time range to query. Valid values:

  • UNIX timestamp: the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC
  • Date format: YYYY-MM-DDThh:mm:ssZ
2019-01-30 00:10:00
NamespacestringNo

The namespace of the cloud service. Format: acs_cloud service name.

acs_ecs_dashboard

Response parameters

ParameterTypeDescriptionExample
object

PlainResult

Datastring

The monitoring data.

{ "code": "200", "datapoints": "[{\"timestamp\":1698375060000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":67084.0,\"Maximum\":67084.0,\"Average\":67084.0},{\"timestamp\":1698375120000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":63704.0,\"Maximum\":63704.0,\"Average\":63704.0},{\"timestamp\":1698375180000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":67624.0,\"Maximum\":67624.0,\"Average\":67624.0},{\"timestamp\":1698375240000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":68432.0,\"Maximum\":68432.0,\"Average\":68432.0},{\"timestamp\":1698375300000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":70148.0,\"Maximum\":70148.0,\"Average\":70148.0},{\"timestamp\":1698375360000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":63612.0,\"Maximum\":63612.0,\"Average\":63612.0},{\"timestamp\":1698375420000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":68032.0,\"Maximum\":68032.0,\"Average\":68032.0},{\"timestamp\":1698375480000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":67400.0,\"Maximum\":67400.0,\"Average\":67400.0},{\"timestamp\":1698375540000,\"instanceId\":\"i-bp18jn50nid83nsu****\",\"ip\":\"1.1.1.1\",\"userId\":\"132776878515****\",\"Minimum\":65352.0,\"Maximum\":65352.0,\"Average\":65352.0}]", "period": "60", "requestId": "AFE33E4E-70A3-5BAE-AEA8-4D3BF3A75067", "success": true }
RequestIdstring

The request ID, which is used to locate and troubleshoot issues.

48F523DA-4C7E-5417-B872-E313E5A4****

Examples

Sample success responses

JSONformat

{
  "Data": "{\n    \"code\": \"200\",\n    \"datapoints\": \"[{\\\"timestamp\\\":1698375060000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":67084.0,\\\"Maximum\\\":67084.0,\\\"Average\\\":67084.0},{\\\"timestamp\\\":1698375120000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":63704.0,\\\"Maximum\\\":63704.0,\\\"Average\\\":63704.0},{\\\"timestamp\\\":1698375180000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":67624.0,\\\"Maximum\\\":67624.0,\\\"Average\\\":67624.0},{\\\"timestamp\\\":1698375240000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":68432.0,\\\"Maximum\\\":68432.0,\\\"Average\\\":68432.0},{\\\"timestamp\\\":1698375300000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":70148.0,\\\"Maximum\\\":70148.0,\\\"Average\\\":70148.0},{\\\"timestamp\\\":1698375360000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":63612.0,\\\"Maximum\\\":63612.0,\\\"Average\\\":63612.0},{\\\"timestamp\\\":1698375420000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":68032.0,\\\"Maximum\\\":68032.0,\\\"Average\\\":68032.0},{\\\"timestamp\\\":1698375480000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":67400.0,\\\"Maximum\\\":67400.0,\\\"Average\\\":67400.0},{\\\"timestamp\\\":1698375540000,\\\"instanceId\\\":\\\"i-bp18jn50nid83nsu****\\\",\\\"ip\\\":\\\"1.1.1.1\\\",\\\"userId\\\":\\\"132776878515****\\\",\\\"Minimum\\\":65352.0,\\\"Maximum\\\":65352.0,\\\"Average\\\":65352.0}]\",\n    \"period\": \"60\",\n    \"requestId\": \"AFE33E4E-70A3-5BAE-AEA8-4D3BF3A75067\",\n    \"success\": true\n}",
  "RequestId": "48F523DA-4C7E-5417-B872-E313E5A4****"
}

Error codes

HTTP status codeError codeError messageDescription
400IllegalParamIllegal param-
400NodeNotExistThe control node does not exist.-
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.