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.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetAppliedConfigs |
get |
*Project
|
|
None |
Request syntax
GET /machinegroups/{machineGroup}/configs HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| machineGroup |
string |
Yes |
The name of the machine group. |
test-machine-group |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
The name of the project. |
ali-test-project |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The information about the Logtail configurations. |
||
| count |
integer |
The number of Logtail configurations. |
2 |
| configs |
array |
The names of the Logtail configurations. |
|
|
string |
The information about the Logtail configuration. |
[ "two", "three", "test_logstore" ] |
Examples
Success response
JSON format
{
"count": 2,
"configs": [
"[ \"two\", \"three\", \"test_logstore\" ]"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.