Skip to main content

Logs

With the Logs feature in your profile, you can access your workspace's audit log. An audit log is a record of a system's activities and events that captures important information such as user actions and system changes.

With this feature, you can review and monitor workspace events. In addition, you can see each log's details for more information.

These reports are available in Settings and Profile.

You can also sort your logs by date and severity or search among them.

Log Types​

Currently, three types of logs are offered in this section:

  • User activity logs

    Any activity that changes Arvancloud resources or services. For example, when someone registers a new domain in the Arvancloud CDN.

  • System event logs

    Any internal activity in Arvancloud services. For example, when a domain's services are stopped by Arvancloud because of abuse.

  • System input/output logs

    Any read or write activity with Arvancloud services

Log Data Structure​

With the logs' data structure, you can get each log's details and review your workspace's events.

In general, logs give you the following basic information:

  • Severity

    Specifies the importance assigned to each log. Error, Warning, Notice, Debug, Info, and Critical go from least to most important.

  • Service

    The Arvancloud service or feature related to the log's request or event, for example the CDN service, the IAM service, and so on.

  • Activity

    Specifies the type of activity performed in each log. This parameter helps you review and analyze system changes and events. Its value can be "Create", "Delete", "Get", and so on.

  • Published date

    Specifies the exact time and date of each event and log entry.

Click any report to access more details of each log.

The log details contain the following parameters:

  • ID

    This parameter is a unique identifier assigned to a log. You can use this ID to identify a specific log.

  • Timestamp

    Shows the exact time and date a log was recorded.

  • Severity

    Shows a log's importance and severity. This parameter helps you categorize logs based on their importance and impact.

  • Resource

    Shows the resource, service, or feature related to the log. Its value can be a path, a service, and so on.

  • Payload

    This section contains the log's main data and full details. The payload usually includes detailed information about the activity, request, response, and log information. The exact structure and content of each payload depends on the log type and its related service.

    A sample log payload looks like this:

{
"auditLogType": "userActivity",
"operationId": "iam.v1.machineUsers.create",
"operationTargetResource": "/v1/accounts/8c8d0fe6-d68b-5068-9f2b-50c6a56a4bc7/machine-users",
"actorInfo": {
"identityId": "1939a11f-147d-41e3-8eb9-950bf14e0ad5"
},
"authorizationInfo": [
{
"permission": "iam.machineUsers.create",
"resource": "",
"approved": true
}
],
"request": {
"name": "middlewareMachineUser"
},
"requestMetadata": {
"id": "",
"method": "POST",
"headers": {},
"path": "/v1/accounts/8838edf3-a1c2-517a-afa5-7f965286d70f/machine-users",
"host": "arvancloud.ir",
"schema": "https",
"query": "",
"timestamp": "2022-11-02T12:04:17.046552+03:30",
"size": 25,
"protocol": "HTTP/1.1",
"clientIp": "192.168.1.1",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0"
},
"response": {
"data": {
"id": "ac82f1eb-22a4-40dc-af9d-a4e2ef3d7d1d",
"name": "middlewareMachineUser"
},
"message": "Machine user created successfully."
}
}