View instance logs

更新时间:
复制 MD 格式

Export raw logs from Alibaba Cloud Service for Milvus (Milvus) to Simple Log Service for centralized management and analysis. Query instance logs in real time to identify root causes, optimize performance, and streamline O&M.

Enable log query

Important
  • Only logs from running instances can be queried.

  • Enabling this feature automatically creates a Project and Logstore in Simple Log Service for log storage.

  • This feature may incur fees. Billing overview.

  1. Go to the Log Query page.

    1. Log on to the Alibaba Cloud Milvus console.

    2. In the left navigation pane, click Milvus Instances.

    3. In the top menu bar, select a region.

    4. On the Milvus Instances page, click the instance name.

    5. Click the Log Query tab.

  2. On the Log Query page, click Activate Now.

  3. In the dialog box that appears, click OK.

Use log query

Milvus log query supports several log management options, including the following.

Modify the custom query time

  1. On the Log Query page, click the image icon.

  2. In the Custom Query Time drop-down list, select a time and click OK.

Use LogReduce

  1. On the Log Query page, click the LogReduce tab.

  2. Click Enable LogReduce.

  3. In the dialog box that appears, click OK.

    For more information about LogReduce, see LogReduce.

Disable log query

Important
  • Disabling log query does not delete the Simple Log Service Project. To delete it, go to the Simple Log Service console.

  • After you disable log query, no new log data is written to Simple Log Service. Existing data is retained. Manually delete this data to avoid ongoing storage fees.

  1. On the Log Query page, click Disable Associated Logs.

  2. In the dialog box that appears, click OK.