installer logs

Downloads a zip archive of the logs for an as-a-service Data Fabric. This command is not supported for customer-managed clusters because clusters do not have a deployment directory. Only as-a-service fabrics have a deployment directory.

Syntax

CLI
maprcli installer logs
usage: cluster_logs.py [-h] -c CLUSTER_NAME [-i INSTALLER_LOGS]
options:
  -h, --help            show this help message and exit
  -c CLUSTER_NAME,    --cluster_name CLUSTER_NAME
  -i INSTALLER_LOGS,  --installer_logs INSTALLER_LOGS
                      type of logs: ezdfaas(False - default)/installer(True)

Parameters

Parameter

Description

-h | --help Shows help for the command.
-c | --cluster_name Mandatory. Name of the fabric for which to obtain log information
-i | --installer_logs Log type to download. Two types are available:
  • ezdfaasFalse is the default value for this log type.
  • installerTrue is the default value for this log type.

Download Logs Example

Downloads a zip archive of the installer logs for fabric name fabric-25 to the /var/mapr/fabriclogs/fabric-25_installer/ directory.

CLI
# maprcli installer logs -c fabric-25 -i true -a true -json
{
"timestamp":1715853237475,
"timeofday":"2024-05-16 02:53:57.475 GMT-0700 AM",
"status":"OK",
"total":0,
"data":[
    ],
    "messages":[
            "{'cluster_name': 'fabric-25', 'installer_logs': 'true', 'log_path': '/var/mapr/fabriclogs/fabric-25_installer/archive.zip'}"
    ]
}