HBase Logs
HBase logs often contain essential log information, and this information can be managed with Site24x7 AppLogs by proper segmentation of the log data into associated fields like date & time, log level, thread level, thread name, source file name, and message. HBase is one of Site24x7's natively supported applications for log management. Learn more about log management with Site24x7.
Getting started
- Log in to your Site24x7 account.
- Download and install the Site24x7 Server Monitoring agent (Windows | Linux).
- Go to Admin > AppLogs > Log Profile and Add Log Profile.
Logs file path
Each application writes logs in different folders and files. By default, HBase logs are sourced from the below-mentioned folder path for the respective Operating System. If you have logs in different folder, you can mention it under the File Path to source them from that particular folder while creating a log profile.
Log pattern
$DateTime:date$ $LogLevel$ [$ThreadName$] $SourceFileName$: $Message$
Sample log
2016-05-10 20:55:33,342 INFO [regionserver/app-centos5-64-2/172.21.113.5:16020] regionserver.Leases: regionserver/app-centos5-64-2/172.21.113.5:16020 closing leases
The above sample log can be separated into 5 fields, each of which will take its respective value from here and will then be uploaded to Site24x7.
Field name | Field value |
Date Time | 2016-05-10 20:55:33,342 |
Log Level | INFO |
Thread Name | regionserver/app-centos5-64-2/172.21.113.5:16020 |
Source File Name | Leases: regionserver/app-centos5-64-2/172.21.113.5:16020 |
Message | closing leases |
Related log types
-
On this page
- Getting started
- Logs file path
- Log pattern
- Sample log
- Related log types