Modifies a Logstore group.

In this example, a Logstore group named Logstore_test is modified. The Logstore of the aliyun-project project in the cn-hangzhou region is changed to Logstore-aliyun-all. The response shows that the Logstore group is modified.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyHybridMonitorSLSGroup

The operation that you want to perform. Set the value to ModifyHybridMonitorSLSGroup.

SLSGroupName String Yes Logstore_test

The name of the Logstore group.

For information about how to obtain the name of a Logstore group, see DescribeHybridMonitorSLSGroup.

SLSGroupDescription String No The Logstore group to which the Alibaba Cloud service belongs.

The description of the Logstore group.

SLSGroupConfig.N.SLSRegion String Yes cn-hangzhou

The region IDs.

Valid values of N: 1 to 25.

SLSGroupConfig.N.SLSProject String Yes aliyun-project

The Log Service projects.

Valid values of N: 1 to 25.

SLSGroupConfig.N.SLSLogstore String Yes Logstore-aliyun-all

The Logstores.

Valid values of N: 1 to 25.

SLSGroupConfig.N.SLSUserId String No 120886317861****

The IDs of the member accounts.

Valid values of N: 1 to 25.

If you call API operations by using a management account, you can connect the Alibaba Cloud services that are activated for a member account in Resource Directory to Hybrid Cloud Monitoring. You can use Resource Directory to monitor Alibaba Cloud services across enterprise accounts.

Note If a member uses CloudMonitor for the first time, you must make sure that the service-linked role AliyunServiceRoleForCloudMonitor is attached to the member. For more information, see Manage the service-linked role for CloudMonitor.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code.

Note The status code 200 indicates that the call is successful.
Message String NotFound.SLSGroup

The error message.

RequestId String 66683237-7126-50F8-BBF8-D67ACC919A17

The ID of the request.

Success String true

Indicates whether the call is successful. Valid values:

  • true: The call is successful.
  • false: The call fails.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "RequestId" : "66683237-7126-50F8-BBF8-D67ACC919A17",
  "Code" : 200,
  "Success" : true

Error codes

For a list of error codes, visit the Error Center.