Help Docs

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 

  1. Log in to your Site24x7 account.
  2. Download and install the Site24x7 Server Monitoring agent (Windows | Linux). 
  3. 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.

Linux icon
Windows icon
C:\Program Files\*hbase*\logs\*.log*

Log pattern

$DateTime:date$ $LogLevel$ [$ThreadName$] $SourceFileName$: $Message$
This is the default pattern defined by Site24x7 for parsing Hbase logs based on the sample mentioned below.

Sample log

2016-05-10 20:55:33,342 INFO  [regionserver/app-centos5-64-2/] regionserver.Leases: regionserver/app-centos5-64-2/ 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/
Source File Name Leases: regionserver/app-centos5-64-2/
Message closing leases

Related log types

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.

We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.

Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!