Help Center/ Data Lake Insight/ FAQs/ Flink Jobs/ Flink Job Consulting/ How Do I Save Logs for Flink Jobs?
Updated on 2024-11-15 GMT+08:00

How Do I Save Logs for Flink Jobs?

When you create a Flink SQL job or Flink Jar job, you can select Save Job Log on the job editing page to save job running logs to OBS.

To set the OBS bucket for storing the job logs, specify a bucket for OBS Bucket. If the selected OBS bucket is not authorized, click Authorize.

The logs are saved in the following path: Bucket name/jobs/logs/Directory starting with the job ID. You can customize the bucket name in the path. /jobs/logs/Directory starting with the job ID is a fixed format.

In the job list, click the job name. In the Run Log tab, click the provided OBS link to go to the path.

For how to create a Flink SQL job or Flink Jar job, see Data Lake Insight User Guide.