All Products
Search
Document Center

Application Real-Time Monitoring Service:GetRetcodeLogstore

Last Updated:Sep 20, 2024

Queries the Log Service project and Logstore that correspond to an application of browser monitoring.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
arms:GetRetcodeLogstorenone
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
PidstringYes

The process identifier (PID) of the application. To obtain the PID of the application, perform the following steps: Log on to the Application Real-Time Monitoring Service (ARMS) console. In the left-side navigation pane, choose Browser Monitoring > Browser Monitoring. On the Browser Monitoring page, click the name of the application. The URL in the address bar contains the PID of the application. The PID is in the pid=xxx format. The PID is usually percent encoded as xxx%40xxx. You must modify this value to remove the percent encoding. For example, if the PID in the URL is xxx%4074xxx, you must replace %40 with the at sign (@) to obtain xxx@74xxx.

atc889zkcf@d8deedfa9bf****
RegionIdstringNo

The ID of the region.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

Schema of Response

RequestIdstring

The ID of the request.

1A9C645C-C83F-4C9D-8CCB-29BEC9E1****
Dataobject

The returned struct.

Statusstring

The status of the request.

true
Messagestring

The content of the log.

retcode app or task can not be found!
RetcodeSLSConfigobject

The information about Log Service.

RegionIdstring

The ID of the region.

cn-hangzhou
Projectstring

The Log Service project.

test-project
Logstorestring

The Log Service Logstore.

log-test-220431

Examples

Sample success responses

JSONformat

{
  "RequestId": "1A9C645C-C83F-4C9D-8CCB-29BEC9E1****",
  "Data": {
    "Status": "true",
    "Message": "retcode app or task can not be found!",
    "RetcodeSLSConfig": {
      "RegionId": "cn-hangzhou",
      "Project": "test-project",
      "Logstore": "log-test-220431"
    }
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
2022-11-15The request parameters of the API has changedView Change Details