All Products
Search
Document Center

Dataphin:Log query

Last Updated:Mar 04, 2026

You can view, filter, and download application logs, end-to-end logs, and pod logs in Log Query.

View and download application logs

Filter and download logs

  1. In the top menu bar of Dataphin Manager, click Application O&M.

  2. In the navigation pane on the left, choose Application O&M > Log Query.

  3. On the Application Log Search tab, filter logs as follows.

    • Keyword: Enter a keyword with at least 5 characters and click Search. The search progress for each application subdomain is displayed below.

    • Application subdomain name: Select one or more application subdomains from the drop-down list. You can also enter a keyword to search for subdomains.

    • Log type: Select one or more log types. Options include application, rpc, nginx, jvm, audit, and mesos logs. The mesos log option appears only if the scheduling cluster is Mesos. By default, application, rpc, nginx, and jvm logs are selected.

    • File time range: Select Last 1 day, Last 2 days, Last 3 days, or Last 5 days. The default is Last 1 day.

    • Display context: Enter the number of lines to show before and after the keyword. The value must be an integer from 1 to 500.

  4. Click Filter and Download Logs to download the filtered logs.

Full log download list

  1. Click Download Full Logs. In the Select for Download dialog box, select an application and click OK to create a download task.

  2. Click Download Task List. The list shows the Application Name, Pod Name, Download Time, and Download Progress for each task. In the Actions column for a task, click Download to download the application logs to your local machine.

    Note
    • By default, you can only download folders that are smaller than 1 GB before compression.

    • The logs downloaded from the full log download are compressed files located in the /home/admin/logs folder. You can download the logs for only one application at a time.

    • Logs in the download task list are stored in Object Storage Service and are kept for a maximum of 3 days.

End-to-end log search

On the End-to-end Log Search tab, enter an instance ID that starts with t to search. You can find the instance ID in the instance O&M list. The search results show the basic information of the current instance, including the ordinal number, instance creation time, and last update time. The ordinal number indicates the number of retries. The system automatically retries tasks based on the retry settings, but a manually triggered rerun is executed only once.

Click Expand next to an ordinal number. Then, click Execution Log, Task Scheduling Log, Resource Scheduling Log, or Executor Log for the instance to view the log details in the code area on the right. Click the image icon next to a log type to download that log. Click Download next to an ordinal number to download all log types for that instance.

  • Execution Log: The execution log of the task instance.

  • Task Scheduling Log: The log of the task instance being scheduled in the task scheduling system.

  • Resource Scheduling Log: The log of the task instance being scheduled in the resource scheduling system.

  • Executor Log: The log from the executor when the task instance is running in it.

Pod log search

On the Pod Log Search tab, select a Namespace (required), a Pod (required), a Log Start Time, and a Line Limit to search for logs of the corresponding pod. The details of the retrieved pod logs are displayed in the code block below.

  • Namespace: Namespaces are automatically obtained from Kubernetes. They include the namespaces required for Dataphin deployment. If you use a shared Kubernetes cluster, namespaces used by other services are also included. Namespaces used by Dataphin typically include the following:

    • Dataphin: The namespace for the Dataphin application.

    • Dataphin-schedule-pool: The namespace for Dataphin task scheduling.

    • stolon: The self-built PostgreSQL metadatabase for Dataphin.

    • redis: The self-built Redis for Dataphin.

    • rocketmq: The self-built RocketMQ for Dataphin.

    • rook-ceph: The self-built Ceph Object Storage for Dataphin.

  • Pod: Select a pod within the specified namespace.

  • Log Start Time: Select a time in YYYY-MM-DD hh:mm:ss format. The search results will only include log entries after the selected time. Dataphin application logs support time-based filtering. For other logs, time-based filtering is supported only for logs that start with a timestamp in YYYY-MM-DD hh:mm:ss format.

  • Line Limit: The number of lines to display in the log details. Enter an integer from 1 to 1000.