Queries the Logtail configurations that are applied to a machine group.
Operation description
Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /machinegroups/{machineGroup}/configs
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
machineGroup | string | Yes | The name of the machine group. | test-machine-group |
Response parameters
Examples
Sample success responses
JSON
format
{
"count": 2,
"configs": [
"[ \"two\", \"three\", \"test_logstore\" ]"
]
}
Error codes
For a list of error codes, visit the Service error codes.