Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Searching for MRS Cluster Logs Online

Updated on 2024-09-23 GMT+08:00

On the MRS Manager page, administrators can easily search for and view all component log files by node or component role to identify faults through keyword analysis.

NOTE:

The operations described in this section only apply to MRS 3.x or later.

Searching for Logs Online

  1. Log in to FusionInsight Manager.
  2. Choose O&M > Log > Online Search.

    Figure 1 Online Search

  3. Set parameters based on Table 1. You can select a log search duration or click to specify Start Time and End Time.

    Table 1 Log search parameters

    Parameter

    Description

    Search Content

    Keywords or regular expression to be searched for

    Service

    Service or module for which you want to query logs

    File

    Log files to be searched for when only one role is selected

    Lowest Log Level

    Lowest level of logs to be queried. After you select a level, the logs of this level and higher levels are displayed.

    The levels in ascending order are as follows:

    TRACE < DEBUG < INFO < WARN < ERROR < FATAL

    Host Scope

    • You can click to select hosts.
    • Enter the host name of the node for which you want to query logs or the IP address of the management plane.
    • Use commas (,) to separate IP addresses, for example, 192.168.10.10,192.168.10.11.
    • Use hyphens (-) to indicate an IP address segment if the IP addresses are consecutive, for example, 192.168.10.[10-20].
    • Use hyphens (-) to indicate an IP address segment if the IP addresses are consecutive, and use commas (,) to separate IP address segments, for example, 192.168.10.[10-20,30-40].
      NOTE:
      • If this parameter is not specified, all hosts are selected by default.
      • A maximum of 10 expressions can be entered at a time.
      • A maximum of 2,000 hosts can be matched for all entered expressions at a time.

    Advanced Configurations

    • Max Quantity: maximum number of logs that can be displayed at a time. If the number of queried logs exceeds the value of this parameter, the earliest logs will be ignored. If this parameter is not set, the maximum number of logs that can be displayed at a time is not limited.
    • Timeout Duration: log query timeout duration. This parameter is used to limit the maximum log query time on each node. When the query times out, the query is stopped and the logs that have been searched for are still displayed.

  4. Click Search. Table 2 describes the fields in search results.

    Table 2 Parameters in search results

    Parameter

    Description

    Time

    Time when a line of log is generated

    Host Name

    Host name of the node where the log file recording the line of log is located

    Location

    Path of the log file recording the line of log

    Click the location information to go to the online log browsing page. By default, 100 lines of logs before and 100 lines after the line of log are displayed. You can click Load More on the top or bottom of the page to view more logs. Click Download to download the log file to the local PC.

    Line No.

    Line number of a line of log in the log file

    Level

    Level of the line of log

    Log

    Log content

    NOTE:

    You can click Stop to forcibly stop the search. You can view the search results in the list.

  5. Click Filter to filter the logs to display on the page. Table 3 lists the fields that you can use to filter logs. After you configure these parameters, click Filter to search for logs meeting the search criteria. You can click Reset to clear the information that you have filled in.

    Table 3 Parameters for filtering logs

    Parameter

    Description

    Keywords

    Keywords of the losg to be searched for

    Host Name

    Name of the host to be searched for

    Location

    Path of the log file to be searched for

    Started

    Start time for logs to be searched for

    Completed

    End time for logs to be searched for

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback