Help Center > > User Guide> Managing Active Clusters> Log Management> Exporting Services Logs

Exporting Services Logs

Updated at: Mar 13, 2020 GMT+08:00

Scenario

Export the logs of each service role from MRS Manager.

Prerequisites

  • You have obtained the Access Key ID (AK) and Secret Access Key (SK) for the corresponding account. For details, see My Credential > How Do I Manage Access Keys?.
  • ou have created a bucket in the Object Storage Service (OBS) system for the corresponding account. For details, see Creating a Bucket.

Procedure

  1. On MRS Manager, click System.
  2. Click Export Log under Maintenance.
  3. Click Services, set Host to the IP address of the host where the service is deployed, and set Start Time and End Time.
  4. In Export to, specify a path for saving logs. This parameter is available only for clusters with Kerberos authentication enabled.

    • Local PC: stores logs in a local directory. If you select this option, go to 7.
    • OBS: stores data in the OBS system and is used by default. If you select this option, go to 5.

  5. In OBS Path, specify the path where service logs are stored in the OBS system.

    Fill in the full path. The path must not start with /. You do not need to create the path in advance because the system creates it automatically. The full OBS path contains a maximum of 900 bytes.

  6. In Bucket Name, enter the name of the created OBS bucket. In AK and SK, enter the Access Key ID and Secret Access Key for the account.
  7. Click OK to export logs.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel