本文介紹CloudLens for SLS相關日誌的欄位詳情。
審計日誌
欄位 | 說明 |
APIVersion | API版本。 |
CallerType | 訪問使用者的類型。 |
ClientIp | 用戶端IP地址。 |
Config | Logtail採集配置。 |
ConsumerGroup | 操作的消費組名稱。 |
Dashboard | 操作的儀錶盤ID。 |
ErrorCode | 錯誤碼。 |
ErrorMsg | 錯誤資訊。 |
InvokerUid | 執行操作的阿里雲帳號ID。 |
Job | 任務名稱。 |
JobType | 任務類型。
|
Latency | 請求延時,單位:微秒。 |
LogStore | 操作的Logstore名稱。 |
MachineGroup | 操作的機器組名稱。 |
Method | 產生該日誌的請求方式。 |
Project | 操作的Project名稱。 |
RequestId | 請求ID。 |
SavedSearch | 操作的快速查詢ID。 |
Status | 請求響應的狀態代碼。 |
Time | 執行操作的時間。 |
UserAgent | 用戶端使用者代理程式。 |
監控指標
Metric名稱 | 單位 | 說明 | 標籤 |
logstore_succeed_write_lines | count | 成功寫入的資料條數 | userId、project、logstore、method |
logstore_intranet_inflow_bytes | byte | 成功寫入內網流量(壓縮後) | userId、project、logstore、method |
logstore_intranet_origin_inflow_bytes | byte | 成功寫入內網流量(壓縮前) | userId、project、logstore、method |
logstore_intranet_outflow_bytes | byte | 成功讀取內網流量 | userId、project、logstore、method |
logstore_internet_inflow_bytes | byte | 成功寫入公網流量(壓縮後) | userId、project、logstore、method |
logstore_internet_origin_inflow_bytes | byte | 成功寫入公網流量(壓縮前) | userId、project、logstore、method |
logstore_internet_outflow_bytes | byte | 成功讀取公網流量 | userId、project、logstore、method |
logstore_acceleration_inflow_bytes | byte | 成功寫入Global Acceleration流量(壓縮後) | userId、project、logstore、method |
logstore_acceleration_origin_inflow_bytes | byte | 成功寫入Global Acceleration流量(壓縮前) | userId、project、logstore、method |
logstore_acceleration_outflow_bytes | byte | 成功讀取Global Acceleration流量 | userId、project、logstore、method |
logstore_inflow_bytes | byte | 成功寫入流量(壓縮後) | userId、project、logstore、method |
logstore_origin_inflow_bytes | byte | 成功寫入流量(壓縮前) | userId、project、logstore、method |
logstore_outflow_bytes | byte | 成功讀取流量 | userId、project、logstore、method |
logstore_read_count | count | 讀請求數量 | userId、project、logstore、method |
logstore_read_count_4xx | count | 發生4xx錯誤的讀請求數量 | userId、project、logstore、method |
logstore_read_count_5xx | count | 發生5xx錯誤的讀請求數量 | userId、project、logstore、method |
logstore_write_count | count | 寫請求數量 | userId、project、logstore、method |
logstore_write_count_4xx | count | 發生4xx錯誤的寫請求數量 | userId、project、logstore、method |
logstore_write_count_5xx | count | 發生5xx錯誤的寫請求數量 | userId、project、logstore、method |
logstore_search_count | count | 查詢請求數量 | userId、project、logstore、method |
logstore_search_count_4xx | count | 發生4xx錯誤的查詢請求數量 | userId、project、logstore、method |
logstore_search_count_5xx | count | 發生5xx錯誤的查詢請求數量 | userId、project、logstore、method |
logstore_read_latency_avg | microsecond | 平均讀延遲 | userId、project、logstore、method |
logstore_read_latency_p95 | microsecond | P95讀延遲 | userId、project、logstore、method |
logstore_read_latency_p99 | microsecond | P99讀延遲 | userId、project、logstore、method |
logstore_write_latency_avg | microsecond | 平均寫延遲 | userId、project、logstore、method |
logstore_write_latency_p95 | microsecond | P95寫延遲 | userId、project、logstore、method |
logstore_write_latency_p99 | microsecond | P99寫延遲 | userId、project、logstore、method |
client_ip_read_count | count | 成功消費的IP地址個數 | userId、project、logstore、method |
client_ip_write_count | count | 成功寫入的IP地址個數 | userId、project、logstore、method |
其他
CloudLens for SLS還支援採集Log Service的重要日誌、詳細日誌、任務作業記錄。具體的欄位說明,請參見日誌類型。