Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Rechenburg, Matthias <matthias.rechenburg@t-systems.com> Co-authored-by: Yang, Tong <yangtong2@huawei.com> Co-committed-by: Yang, Tong <yangtong2@huawei.com>
16 KiB
Log Online Search
Scenario
MRS Manager allows you to search for logs online and view the log content of components to locate faults.
Procedure
- Log in to MRS Manager.
- Choose O&M > Log > Online Search.
- Configure the parameters listed in Table 1 to search for the logs you need. You can select a default log search duration (including 0.5h, 1h, 2h, 6h, 12h, 1d, 1w, and 1m), or click
to customize Start Data and End Data.
- 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
Source Cluster
Cluster for which the 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
- 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
Source Cluster
Cluster for which logs need to be searched