Logs

Content Intelligence Administration Guide

Version
3.0.x
File Size
465 KB
Audience
anonymous
Part Number
MK-HCI000-19

Logs are handled by the log collection node, which is the Kubernetes worker node where the log aggregation pod (Logstash), the log rotation pod (Logrotate), and the relevant log PersistentVolumeClaims (PVCs) that are required for them to function are co-located.

PVCs are requests for storage resources, which are defined within Kubernetes by objects called PersistentVolumes (PVs), or the logically provisioned pieces of storage which are made mountable as volumes within a container. The default size for the logging PVC is 10GB.

Log rotation

Log rotation is handled by Logrotate, which helps to manage the log files generated within your pods. The files are rotated daily at 00:00, after which the log file is truncated, compressed, and moved to its relative directory.

Empty log files remain untouched and both logs and rotated logs are deleted after 30 days if they remain unmodified.

Downloading product logs

HCI's many components each write important events and diagnostics to various logs. When an issue occurs, it may become necessary to collect those logs and deliver them to your Hitachi Vantara representative for analysis.

In order to download your system logs:

  1. Open Workflow Designer.
  2. Click the question mark icon.
  3. Click Workflow API.
  4. Click admin.
  5. Click POST /admin/logs.
  6. Click Try it out.
  7. In the Edit Values field, enter both your username and password.
  8. Click Execute.