Collecting logs with Diagnostics Collector

Virtual Storage Platform One Object Administration Guide

Version
3.4.x
FileSize
1775 KB
Audience
anonymous
Part Number
MK-24VSP1OB000-05
ft:lastEdition
2026-09-09
Product
Virtual Storage Platform One Object

The Diagnostics Collector tool lets the monitor user collect and download system diagnostics and logs for initial troubleshooting and escalation. The tool gathers diagnostics from all nodes in a region and stores the collected data as a compressed archive on the node from which it is run.

It is recommended to run Diagnostics Collector from the jump node, although it can also be executed from any control plane node within the region. For multi-region deployments, the tool must be run separately for each region.

Collected data includes:

  • Prometheus snapshot (psnap) from the S3 region Prometheus.
  • Archived logs for specified pods or services for the previous number of days from a given date.
  • Current logs for specified pods or services.
  • System events from the past 7 days.
  • System configuration data (for example, storage_components, storage_classes, and other information available through MAPI).
  • Kubernetes configuration and status information.
  • Alerts and telemetry.
  • VSP One Object configuration files.

Default output directory

/var/log/storage/diagcollector

Usage examples

diagcollector                       # Collect all data types
diagcollector -i "telemetry,events"  # Include specific data types
diagcollector -x "mapi,psnap"        # Exclude specific data types
diagcollector -e 2025-08-16T10:00:00Z -n 2  # Collect 2 days of logs ending Aug 16

Available arguments

Option Description
-i <types> Include one or more data types (comma-separated).
-x <types> Exclude one or more data types (mutually exclusive with -i).
-e <date> End date for archived logs (default = today).
-n <days> Number of days of archived logs (default = 1).
pgrep diagcollector Check the status of Diagnostics Collector during log collection