Logs! Logs! Logs! Q&A

  • 8 July 2020
  • 0 replies
  • 1794 views

Userlevel 6
Badge +5
  • Nutanix Employee
  • 433 replies

A few questions on logs collection and rotation today.

  1. Are the logs deleted automatically?
  2. Yes, they are! With newer AOS versions log bundles older than seven days are purged from CVM automatically.

 

  1. Is there a way to check /home space usage of a CVM from the Prism
  2. Unfortunately no. Please refer to solution section KB-NCC - Health Check command fails with error "No space left on device" NCC - Health Check command fails with error "No space left on device" for the command on how to check the space usage.

 

  1. Is there a difference between log collection triggered from the Prism as opposed to the same from the CLI.
  2. The end result is the same however CLI method allows for more flexibility due to additional options.

From NCC 3.7.1 onwards, use of the Logbay utility for log collection is recommended instead of log_collector due to performance, usability and feature enhancements. Logbay eliminates performance issues that sometimes are observed with log_collector.

If you have not yet upgraded NCC, please do. It can’t be any easier! Follow Nutanix Cluster Check (NCC) 3.9 Guide: Install and Upgrade (NCC).

 

More on the topic:

KB-6691 NCC - Logbay Quickstart Guide

Nutanix Cluster Check (NCC) 3.9 Guide: Logbay Log Collection (Command Line)

NEXT Create and delete log bundles


This topic has been closed for comments