Torch Log ServiceUser GuideData consumption and shippingShip logs to KafkaManage Kafka shipping rules
Copy page
Download PDF
Ship logs to Kafka
Manage Kafka shipping rules
Copy page
Download PDF
Manage Kafka shipping rules
After you create shipping configurations, you can view and manage Kafka shipping configurations in the shipping configuration list, such as modifying shipping configurations, and pausing or resuming log shipping.
After you create a shipping configuration, you can view the basic information about the rule in the list of shipping configurations on the Kafka shipping page. You can also click the name of the shipping configuration to view its details, or modify the parameter values of the shipping configuration as needed. Perform the following steps:
After you create a shipping configuration, the rule is enabled by default. Disable the rule as needed. If you pause a rule and resume it, log data collected during the pause period is also shipped to Message Queue for Kafka.
The execution progress and status of a log shipping task are recorded in service logs. You can view the log data in tls_shipper-log Topic of the tls_service-project project. The Status field indicates the execution result of each shipping task. The following table describes the field.
Status
Description
Success
The task is executed, and the logs entries are shipped.
Failed
The task fails. View the Message field for the failure details. Common causes:
Shipper Task is cancelled: The task fails as the shipping task was canceled.
User is not authorized to action on resource: The authentication fails. For example, cross-service access authorization is not configured. Authorize access and try again.
We have an internal error occurred: Internal error. The system retries automatically. If the error is reported again, contact customer service support for assistance.
For a task that fails, handle the error based on the error message in the Message field. After you handle the error, we recommend that you create a shipping configuration again to ship the remaining data.