All Products
Search
Document Center

Security Center:GetLogMeta

Last Updated:Feb 20, 2024

Queries the status of a data shipping task of a log.

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
LogStorestringYes

The name of the dedicated Logstore in which logs are stored.

Note You can call the DescribeLogMeta operation to query the name of the Logstore.
aegis-log-login

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

3956048F-9D73-5EDB-834B-4827BB48****
LogMetaobject

The data of a data shipping task.

Projectstring

The Simple Log Service project.

sas-log
LogStorestring

The name of the dedicated Logstore in which logs are stored.

aegis-log-login
Statusstring

The status of a data shipping task of a log. Valid values:

  • enabled
  • disabled
enabled

Examples

Sample success responses

JSONformat

{
  "RequestId": "3956048F-9D73-5EDB-834B-4827BB48****",
  "LogMeta": {
    "Project": "sas-log",
    "LogStore": "aegis-log-login",
    "Status": "enabled"
  }
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

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