This topic describes the fields of logs in CloudLens for SLS.
Audit logs
Field | Description |
APIVersion | The version of the API. |
CallerType | The type of the API caller. |
ClientIp | The IP address of the client. |
Config | The Logtail configuration. |
ConsumerGroup | The name of the consumer group. |
Dashboard | The ID of the dashboard. |
ErrorCode | The error code. |
ErrorMsg | The error message. |
InvokerUid | The ID of the Alibaba Cloud account that is used to call the API operation. |
Job | The name of the job. |
JobType | The type of the job.
|
Latency | The latency of the request. Unit: microseconds. |
LogStore | The name of the Logstore. |
MachineGroup | The name of the machine group. |
Method | The API operation for which the log is recorded. |
Project | The name of the project. |
RequestId | The ID of the request. |
SavedSearch | The ID of the saved search. |
Status | The HTTP status code in the response. |
Time | The time when the API operation was performed. |
UserAgent | The agent that is used by the client to call the API operation. |
Metrics
Metric | Unit | Description | Tag |
logstore_succeed_write_lines | count | Number of lines for successful writes | userId, project, logstore, and method |
logstore_intranet_inflow_bytes | byte | Intranet traffic for successful writes of compressed data | userId, project, logstore, and method |
logstore_intranet_origin_inflow_bytes | byte | Intranet traffic for successful writes of raw data that is not compressed | userId, project, logstore, and method |
logstore_intranet_outflow_bytes | byte | Intranet traffic for successful reads | userId, project, logstore, and method |
logstore_internet_inflow_bytes | byte | Internet traffic for successful writes of compressed data | userId, project, logstore, and method |
logstore_internet_origin_inflow_bytes | byte | Internet traffic for successful writes of raw data that is not compressed | userId, project, logstore, and method |
logstore_internet_outflow_bytes | byte | Internet traffic for successful reads | userId, project, logstore, and method |
logstore_acceleration_inflow_bytes | byte | Global Accelerator (GA) traffic for successful writes of compressed data | userId, project, logstore, and method |
logstore_acceleration_origin_inflow_bytes | byte | GA traffic for successful writes of raw data that is not compressed | userId, project, logstore, and method |
logstore_acceleration_outflow_bytes | byte | GA traffic for successful reads | userId, project, logstore, and method |
logstore_inflow_bytes | byte | Traffic for successful writes of compressed data | userId, project, logstore, and method |
logstore_origin_inflow_bytes | byte | Traffic for successful writes of raw data that is not compressed | userId, project, logstore, and method |
logstore_outflow_bytes | byte | Traffic for successful reads | userId, project, logstore, and method |
logstore_read_count | count | Number of read requests | userId, project, logstore, and method |
logstore_read_count_4xx | count | Number of read requests with HTTP status code 4XX | userId, project, logstore, and method |
logstore_read_count_5xx | count | Number of read requests with HTTP status code 5XX | userId, project, logstore, and method |
logstore_write_count | count | Number of write requests | userId, project, logstore, and method |
logstore_write_count_4xx | count | Number of write requests with HTTP status code 4XX | userId, project, logstore, and method |
logstore_write_count_5xx | count | Number of write requests with HTTP status code 5XX | userId, project, logstore, and method |
logstore_search_count | count | Number of query requests | userId, project, logstore, and method |
logstore_search_count_4xx | count | Number of failed queries with HTTP status code 4XX | userId, project, logstore, and method |
logstore_search_count_5xx | count | Number of failed queries with HTTP status code 5XX | userId, project, logstore, and method |
logstore_read_latency_avg | microsecond | Average read latency | userId, project, logstore, and method |
logstore_read_latency_p95 | microsecond | 95th percentile read latency | userId, project, logstore, and method |
logstore_read_latency_p99 | microsecond | 99th percentile read latency | userId, project, logstore, and method |
logstore_write_latency_avg | microsecond | Average write latency | userId, project, logstore, and method |
logstore_write_latency_p95 | microsecond | 95th percentile write latency | userId, project, logstore, and method |
logstore_write_latency_p99 | microsecond | 99th percentile write latency | userId, project, logstore, and method |
client_ip_read_count | count | Number of IP addresses from which data is successfully consumed | userId, project, logstore, and method |
client_ip_write_count | count | Number of IP addresses from which data is successfully written | userId, project, logstore, and method |
Other logs
CloudLens for SLS also allows you to collect important logs, detailed logs, and job operational logs. For more information about the fields, see Log types.