Help Docs

Zookeeper Logs

Zookeeper is one of the most commonly used distributed open source coordination software. With Site24x7 AppLogs you can get critical insights on your Zookeeper server related logs with the help of a seamless client-level integration with your server. Site24x7 AppLogs is a one of a kind cloud-based service for log management that aggregates logs across all your servers and presents it in a single dashboard view. It enables you to access crucial application information from your logs by searching for message, source file name, date & time and more, thereby making log management hassle free and efficient. 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.
  4. Select ZooKeeper Logs from the Choose the Log Type dropdown.
  5. Logs file path: Each application writes logs in different folders and files. By default, Zookeeper logs are sourced from the below-mentioned folder path for the respective Operating System. If you have logs in a different folder, you can mention it under the List of files to search for logs to source them from that particular folder while creating a log profile.
    Linux icon
    Windows icon
    \Program Files\zookeeper*\logs\zookeeper*.log*

    Log pattern

    $DateTime:date$ - $LogLevel$ [$ThreadName$:$SourceFileName$@$LineNumber:number$] - $Message$

    This is the default pattern defined by Site24x7 for parsing Zookeeper logs based on the sample mentioned below.

    Sample log

    2017-03-07 09:05:20,049 - INFO  [SessionTracker:ZooKeeperServer@355] - Expiring session 0x15aa1b716590000, timeout of 6000ms exceeded

    The above sample log can be separated into six fields, each of which will take its respective value from here and will then be uploaded to Site24x7.

    Field name Field value
    Date Time 2017-03-07 09:05:20,049
    Log Level INFO
    ThreadName SessionTracker
    SessionTracker ZooKeeperServer
    LineNumber 355
    Message Expiring session 0x15aa1b716590000, timeout of 6000ms exceeded

Configure ZooKeeper plugin integration and gain in-depth visibility into the performance, availability, and usage stats of ZooKeeper servers.

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!