DescribeBatchSlsDispatchStatus
Queries the log delivery status.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:DescribeBatchSlsDispatchStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language type for receiving messages. Valid values:
|
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
7036EBAB-F85F-5AAE-976F-C75AEE59**** |
| LogstoreName |
string |
The name of the Logstore in Simple Log Service. |
rs-stats |
| ProjectName |
string |
The name of the project in Simple Log Service. |
cloudfirewallnew-project-199053910542****-cn-hangzhou |
| ItemList |
array<object> |
The list of log services. |
|
|
object |
The list of log services. |
||
| DispatchName |
string |
The name of the delivery type. |
internet-traffic-log |
| DispatchValue |
string |
The value of the log classification. |
internet_log |
| SearchName |
string |
The name of the search type. This parameter is fixed as log_type and can be ignored. |
log_type |
| Enable |
boolean |
The delivery status. |
true |
| ConfigStatus |
string |
The delivery configuration status. |
success_finished |
| FilterKeys |
array |
The supported filter conditions for the Internet and VPC firewalls. |
|
|
string |
The supported filter conditions for the Internet and VPC firewalls. Valid values:
|
attack |
|
| LogVersion |
string |
The log version. A value of 1 indicates one Logstore, and a value of 2 indicates two Logstores. |
1 |
| InfoList |
array<object> |
The list of Logstore details. |
|
|
array<object> |
The information list. |
||
| LogstoreName |
string |
The name of the Logstore in Simple Log Service. |
cloudfirewall-logstore |
| ProjectName |
string |
The name of the project in Simple Log Service. |
cloudfirewall-project-1204872307283650-cn-hangzhou |
| ItemList |
array<object> |
The log delivery configuration details. |
|
|
object |
The log delivery configuration details. |
||
| DispatchName |
string |
The name of the delivery type. |
internet-traffic-log |
| DispatchValue |
string |
The log classification key. Valid values: internet_log vpc_firewall_log nat_firewall_log ipv6_firewall_log dns_firewall_log |
ipv6_firewall_log |
| SearchName |
string |
The name of the search type. This parameter is fixed as log_type and can be ignored. |
log_type |
| Enable |
boolean |
The enablement status of the delivery type. |
true |
| ConfigStatus |
string |
The configuration status. |
success_finished |
| FilterKeys |
array |
The detailed delivery configuration for the Internet and VPC firewalls. |
|
|
string |
The specific field name. A value of attack indicates attack event logs, acl indicates access control logs, and other indicates other logs. |
attack,other |
|
| Site |
string |
The site. A value of cn indicates the Chinese mainland, intl indicates regions outside the Chinese mainland, and global indicates global. |
cn |
Examples
Success response
JSON format
{
"RequestId": "7036EBAB-F85F-5AAE-976F-C75AEE59****",
"LogstoreName": "rs-stats",
"ProjectName": "cloudfirewallnew-project-199053910542****-cn-hangzhou",
"ItemList": [
{
"DispatchName": "internet-traffic-log",
"DispatchValue": "internet_log",
"SearchName": "log_type",
"Enable": true,
"ConfigStatus": "success_finished",
"FilterKeys": [
"attack"
]
}
],
"LogVersion": "1",
"InfoList": [
{
"LogstoreName": "cloudfirewall-logstore",
"ProjectName": "cloudfirewall-project-1204872307283650-cn-hangzhou",
"ItemList": [
{
"DispatchName": "internet-traffic-log",
"DispatchValue": "ipv6_firewall_log",
"SearchName": "log_type",
"Enable": true,
"ConfigStatus": "success_finished",
"FilterKeys": [
"attack,other"
]
}
],
"Site": "cn"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvokeError | Invoke rosttea's api failed. | Log Service query is abnormal. Check whether the Project failed to be created or deleted. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.