Torch Log Service
Log type | Related features | Storage location (Topic) | Description |
Log type | Related features | Storage location (Topic) | Description |
| tls_import-task | TLS automatically records this log after a TOS or Kafka data import task is completed. TLS records the operation and import details for each data import task. | |
| tls_import-task | Exceptions are reported only when there are anomalies or failures during TOS or Kafka data import tasks. A log entry is recorded for each imported file with an exception. | |
LogCollector host group | tls_log-collector-status | Logs are only recorded after manually enabling the LogCollector service log feature. When enabled, each LogCollector client records its running status once per minute in log format. | |
LogCollector host group | tls_log-collector-business | Logs are only recorded after manually enabling the LogCollector service log feature. After enabling, LogCollector reports the collection progress of each file once per minute. | |
Data transformation | tls_etl-log | When running a data transformation task, TLS automatically records process and progress information at regular intervals, and prints the information in service logs. If a runtime issue occurs during data transformation, the service log records error details and labels the logging.level field as ERROR. | |
Ship data to TOS or Kafka | tls_shipper-log | After log shipping is enabled, TLS automatically records the execution status of scheduled shipping tasks and displays the status in service logs. If any runtime issues occur during shipping, detailed error information will be recorded in the runtime log. | |
Consumer group | tls_consumergroup-log | After a user uses the SDK consumer group feature, TLS records the consumer lag in seconds for each Shard in the consumer group every 2 minutes. Then, TLS prints this information in service logs. | |
SQL analysis | tls_schedule-sql-log | After the instance of a scheduled SQL analysis task starts running, TLS periodically logs the execution details of each instance in the service logs. | |
Log alarm | tls_alarm-log | After the alarm policy starts running, TLS periodically logs the execution details of each monitoring task, such as execution time and results, and prints them in the service log. | |
Log alarm | tls_alarm-log | Each time an alarm policy is triggered, TLS prints an alarm event log to record relevant metadata when the alarm is triggered. |
Field | Example value | Description |
Field | Example value | Description |
TaskID | 123-xxx | Import task ID. |
TaskStatus | Finished | The status of imported tasks, including:
|
SourceType | tos | The types of data source imported, including:
|
Transferred | 5004 | Number of imported records. |
Failed | 0 | Number of data entries that failed imports. |
Skipped | 0 | Number of records that are skipped during import. |
NotExist | 0 | Number of failed cases caused by non-existent TOS file. If the data source is Kafka, this field is always 0. |
Total | 5004 | Total number of records in the task. |
BytesTransferred | 20372186 | The size of imported data, measured in bytes. |
BytesTotal | 20372186 | Total size of all data, measured in bytes. |
Field | Example value | Description |
Field | Example value | Description |
TaskID | 123-xxx | Import task ID. |
SourceType | tos | The types of data source imported, including:
|
Object | abc.log | Storage path for the imported object in TOS. If the data source is Kafka, this field is empty. |
Status | NotExist | Status of imported data. including:
|
Error | Obj not exist | Reasons for import failure, including:
|
Field | Description |
Field | Description |
InstanceId | Unique identifier of LogCollector client. |
Label | Host identification array. |
IP | IP address of the host. |
Version | Version number of LogCollector. |
HeartbeatStatus | Status of LogCollector's latest heartbeat:
|
MemoryUsed | Memory usage, measured in bytes. |
CpuUsage | CPU usage percentage. |
DuplicateFilePathCnt | Number of collection configurations to which the file is repeatedly bound. If field value is 1, it means the log file is bound to two collection configurations. For related instructions, see Monitoring LogCollector. |
DuplicateFilePaths | Log file paths with duplicate bindings in the collection configuration. |
SendTotalLogSize | Total logs sent since LogCollector was last started, measured in bytes. |
SendTotalLogCount | Total number of logs sent. |
SendSuccessLogSize | Total size of successfully sent logs, measured in bytes. |
SendSuccessLogCount | Number of logs sent successfully. |
SendDropLogSize | Total amount of logs discarded due to failed delivery, measured in bytes. |
SendDropLogCount | Number of logs discarded due to failed delivery. |
SendTotalReqs | Total number of requests sent to the server. |
SendSuccessReqs | Number of requests sent successfully. |
SendFailReqs | Number of requests that failed to send. |
SendLimitReqs | Number of requests blocked due to rate limiting. |
SendDeleteReqs | Number of requests that are blocked because the target Topic was deleted. |
QueueCurrSize | Number of logs currently cached by the LogCollector client. |
QueueCurrBytes | Amount of logs currently cached by the LogCollector client, measured in bytes. |
Field | Description |
Field | Description |
InstanceId | Unique identifier of LogCollector client. |
Label | Host identification array. |
IP | IP address of the host. |
Version | Version number of LogCollector. |
TopicId | Destination topic for log writing. |
FilePath | The path of the log file currently being collected. |
RealFilePath | The actual path of the log file currently being collected on the physical machine. |
FileSize | The size of the log file currently being collected, measured in bytes. |
ReadOffset | The offset for reading the file, measured in bytes. |
SendSuccessOffset | Offset of successfully sent data, measured in bytes. |
StartReadTimestamp | Timestamp for starting to read the file. |
LastReadTimestamp | Timestamp of the most recent read from the file. |
ParseSuccessSize | Size of successfully parsed logs in bytes. |
ParseSuccessCount | Number of successfully parsed log entries. |
ParseFailSize | Volume of logs that failed to parse, measured in bytes. |
ParseFailCount | Number of logs that failed to parse. |
FormatTimeSuccessSize | Size of logs successfully parsed by the specified time format, measured in bytes. |
FormatTimeSuccessCount | Number of logs successfully parsed when parsing the time field according to the specified time format. |
FormatTimeFailSize | Size of logs that failed to parse by the specified time format, measured in bytes. |
FormatTimeFailCount | Number of logs failed to parse when parsing the time field according to the specified time format. |
FilterSize | The size of logs filtered according to the specified filter configuration, measured in bytes. |
FilterCount | The number of logs filtered according to the specified filter configuration. |
HarvesterStatus | The status of the file collector includes:
|
Field | Example value | Description |
Field | Example value | Description |
task_id | 123-xxx | The task ID for log processing. |
etl_context.project | abc-xxx | The Project to which the source Topic of processing task belongs. |
etl_context.topic | edf-xxx | Source log topic ID of the data transformation task. |
etl_context.shard_id | 0 | Shard ID of the source log topic consumed by the data transformation task. |
logging.level | INFO | Log levels include:
|
logging.message | division zero | Information related to the data transformation task.
|
process_info.accept | 100 | This is the number of logs consumed during the data processing task, i.e., the number of logs that were read from the source log topic. |
process_info.dropped | 0 | This is the number of logs filtered during the data processing task, i.e., logs that are deleted by the e_drop function or logs that are removed due to failed processing. |
process_info.delivered | 100 | The number of logs output during processing, i.e., the logs that have been successfully processed and are ready to be written to the target log topic. |
process_info.failed | 0 | The number of logs that failed to output during processing, such as failures caused by the deletion of the target log topic. |
Field | Example value | Description |
Field | Example value | Description |
LogCount | 10 | The number of logs processed in this shipping task. |
LogStartTime | 1678781706 | The timestamp of the first log processed in this shipping task. |
LogEndTime | 1678781706 | The timestamp of the last log processed in this shipping task. |
ProcessSpeed | 1000 | The shipping speed for this task, measured in Byte/s. |
SendStartTime | 1678781706 | The start timestamp of this shipping task. |
SendEndTime | 1678781706 | The end timestamp of this shipping task. |
ShardId | 0 | The shard of the topic to be shipped for this shipping task. |
ShipperId | 411-xxx | The ID of the shipping configuration to which the shipping task belongs. |
TaskId | task-xxx | The ID of this shipping task. |
TopicId | b67-xxx | The ID of the topic shipped in this shipping task. |
TopicName | testtopic | The name of the topic shipped in this shipping task. |
WriteTraffic | 1000 | The amount of write traffic generated by this shipping task, measured in bytes. |
ReadTraffic | 1000 | The amount of read traffic generated by this shipping task, measured in bytes. |
Message | Task shipper success. | Execution response details for this shipping task are as follows:
|
Status | Success | Result of this shipping task, including:
|
Field | Example value | Description |
Field | Example value | Description |
ConsumerGroupName | test | Consumer group name. |
ProjectId | xxx | The project ID to which the consumer group belongs. |
TopicId | xxx | The log topic ID associated with this delay information. |
ShardId | 0 | The shard ID associated with this delay information. |
FallBehindSecond | 10 | The consumption delay in seconds of the current consumer group on the current shard, i.e., the difference between the timestamp of the latest consumed data and the timestamp of the actual latest data in this shard. |
Field | Example value | Description |
Field | Example value | Description |
task_id | 0c554a3a-a307-43ec-857a-3743f8a0**** | ID of the scheduled SQL analysis task. |
process_id | 0c554a3a-a307-43ec-857a-3743f8a0**** | Scheduled SQL analysis task instance ID. |
task_start_time | 1692180957000 | Task execution start time, measure in milliseconds. |
task_end_time | 1692181022000 | Task execution end time, in milliseconds. |
task_running_time | 65 | Task execution duration, measure in milliseconds. |
process_time | 1692180883 | Instance scheduling time, displayed as a timestamp in seconds. |
process_start_time | 1692180780 | Scheduling start time, displayed as a timestamp in seconds. |
process_end_time | 1692180840 | Scheduling end time, displayed as a timestamp in seconds. |
process_log_nums | 1 | Number of processed logs. |
process_result | {status:"success","message":"success"} | Instance scheduling result. Note:
|
Field | Example value | Description |
Field | Example value | Description |
AccountId | 200000**** | Volcanoengine account ID. |
ProjectId | a2026e02-91d8-460e-887f-19db4da9**** | Project ID. |
ProjectName | tls_service-project | Project name. |
AlarmName | rewrwer-copy | Alarm name. |
AlarmId | 1482fce9-6655-4aa2-bf6b-9a1d4e20**** | Alarm policy ID. |
TopicIds | ebee41c6-ba2f-4dba-84be-b310ce4c**** | Log topic ID list. |
TopicNames | tls_etl-log | Log name list. |
HappenThreshold | $1.count>=100 | Trigger conditions configured in the alarm policy. |
AlarmFrequency | 30 | Alarm frequency. |
ReachTrigger | FALSE | Whether the alarm is triggered. |
Notify | NotSend | Execution result.
|
NotifyGroup | [{"NotifyGroupId":"87527591-06b2-4e40-bcee-c92416ba****","Name":"yyj-tsy-001"}] | Alarm group list.
|
ProcessResult | AlarmConditionEvaluateError | Execution result. The following are common execution results.
|
ProcessMsg | Alarm evaluate error: result of '$1.count' does not exist | Execution result details. |
NotifyType | AlarmRecover | Alarm type. |
Severity | notice | Alarm level. |
AlarmDuration | 0 | Alarm cycle. |
SmsBillingCount | 0 | Number of SMS chargeable messages sent. |
AlarmVersion | 2 | Alarm version. |
SmsSuccessCount | 0 | Number of alert SMS messages sent successfully. |
SmsFailedCount | 0 | Number of alert SMS messages that are failed to send. |
VmsSuccessCount | 0 | Number of successful alarm calls. |
VmsFailedCount | 0 | Number of failed alarm calls. |
EmailSuccessCount | 0 | Number of alarm emails that are successfully sent. |
EmailFailedCount | 0 | Number of alarm emails that failed to sent. |
WebHookSuccessCount | 0 | Number of successful WebHook requests. |
WebHookFailedCount | 0 | Number of failed WebHook requests. |
Env | {"AlarmStartTime":"","FireResults":"","FireResultsCount":0,"Results":"[{\"TopicId\":\"ebee41c6-ba2f-4dba-84be-b310ce4c****\",\"TopicName\":\"tls_etl-log\",\"Query\":\"* AND task_id:\\\"7975efd7-e63b-4cdd-b51c-06d9cf08****\\\" | select sum(process_info.failed) AS failed_count\",\"StartTime\":1701678164,\"EndTime\":1701679064,\"RawResults\":[{\"failed_count\":\"0\"}],\"RawResultsCount\":1,\"FireResult\":{}},{\"TopicId\":\"ebee41c6-ba2f-4dba-84be-b310ce4c5b9f\",\"TopicName\":\"tls_etl-log\",\"Query\":\"* AND task_id:\\\"7975efd7-e63b-4cdd-b51c-06d9cf0****\\\" | select sum(process_info.failed) AS failed_count\",\"StartTime\":1701678164,\"EndTime\":1701679064,\"RawResults\":[{\"failed_count\":\"0\"}],\"RawResultsCount\":1,\"FireResult\":{}},{\"TopicId\":\"ebee41c6-ba2f-4dba-84be-b310ce4c****\",\"TopicName\":\"tls_etl-log\",\"Query\":\"* AND task_id:\\\"7975efd7-e63b-4cdd-b51c-06d9cf0****\\\" | select sum(process_info.failed) AS failed_count\",\"StartTime\":1701678164,\"EndTime\":1701679064,\"RawResults\":[{\"failed_count\":\"0\"}],\"RawResultsCount\":1,\"FireResult\":{}}]"} | Common variable field values used during alert execution. |
LogType | Alarm | Type of log.
|
QueryUrl | https://console-stable.volcanicengine.com/tls/region:tls+cn-chongqing-sdv/project/a2026e02-91d8-460e-887f-19db4da9****/search?codebase64=KiBBTkQgIHRhc2tfaWQ6Ijc5NzVlZmQ3LWU2M2ItNGNkZC1iNTFjLTA2ZDljZjA4N2VmMiIgfCBzZWxlY3Qgc3VtKHByb2Nlc3NfaW5mby5mYWlsZWQpIEFTIGZhaWxlZF9j****==&hideIndexBtn=false&hideShareBtn=false&hideTitle=false&hideTopic=false&time=2023-12-04%2016:22:44%2C2023-12-04%2016:37:44&topicId=ebee41c6-ba2f-4dba-84be-b310ce4**** | URL for the query and analysis page of the first alarm query statement. |
Field | Example value | Description |
Field | Example value | Description |
AccountId | 200000**** | Volcanoengine account ID. |
InstanceId | 94285baf-7568-48dc-983f-26402bb**** | Alarm instance ID. |
IncidentId | 06a80b71-f578-4732-aeab-f215a7e8**** | Alarm event ID. |
AlarmAnnotations | {"desc":"aaa001 alarm triggered","title":"aaa001 alarm triggered"} | Description of alarm metadata. |
ProjectId | a2026e02-91d8-460e-887f-19db4da**** | Project ID. |
ProjectName | tls_service-project | Project name. |
AlarmName | rewrwer-copy | Alarm name. |
AlarmId | 1482fce9-6655-4aa2-bf6b-9a1d4e20**** | Alarm policy ID. |
Env | {"AlarmStartTime":"","FireResults":"","FireResultsCount":0,"Results":"[{\"TopicId\":\"ebee41c6-ba2f-4dba-84be-b310ce4c****\",\"TopicName\":\"tls_etl-log\",\"Query\":\"* AND task_id:\\\"7975efd7-e63b-4cdd-b51c-06d9cf08****\\\" | select sum(process_info.failed) AS failed_count\",\"StartTime\":1701678164,\"EndTime\":1701679064,\"RawResults\":[{\"failed_count\":\"0\"}],\"RawResultsCount\":1,\"FireResult\":{}},{\"TopicId\":\"ebee41c6-ba2f-4dba-84be-b310ce4c5b9f\",\"TopicName\":\"tls_etl-log\",\"Query\":\"* AND task_id:\\\"7975efd7-e63b-4cdd-b51c-06d9cf0****\\\" | select sum(process_info.failed) AS failed_count\",\"StartTime\":1701678164,\"EndTime\":1701679064,\"RawResults\":[{\"failed_count\":\"0\"}],\"RawResultsCount\":1,\"FireResult\":{}},{\"TopicId\":\"ebee41c6-ba2f-4dba-84be-b310ce4c****\",\"TopicName\":\"tls_etl-log\",\"Query\":\"* AND task_id:\\\"7975efd7-e63b-4cdd-b51c-06d9cf0****\\\" | select sum(process_info.failed) AS failed_count\",\"StartTime\":1701678164,\"EndTime\":1701679064,\"RawResults\":[{\"failed_count\":\"0\"}],\"RawResultsCount\":1,\"FireResult\":{}}]"} | Common variable field values used during alert execution. |
LogType | Alarm | Type of log.
|