Conductor Documentation

log-bundles

The cfy log-bundles command is used to handle manager log bundles.

You can use the command to create, download, delete and list log-bundles.

Optional flags

These commands support the common CLI flags.

Commands

create

Usage

cfy log-bundles create [OPTIONS] [LOG_BUNDLE_ID]

Create a log bundle on the manager.

The log bundle will contain all cloudify logs it was able to retrieve from all managers, brokers, and database nodes it was able to reach.

LOG_BUNDLE_ID is the id to attach to the log bundle. Not required. If not provided, will be generated automatically.

Optional flags

 

Example

$ cfy log-bundles create test
...

Creating log_bundle test...
Started workflow execution. The execution's id is f284c5cf-00b6-4d58-91a4-fd1975931ecb.

...

delete

Usage

cfy log-bundles delete [OPTIONS] LOG_BUNDLE_ID

Delete a log_bundle from the manager.

LOG_BUNDLE_ID is the id of the log bundle to delete.

 

Example

$ cfy log-bundles delete test
...

Deleting log_bundle test...
Log bundle deleted successfully

...

download

Usage

cfy log-bundles download [OPTIONS] LOG_BUNDLE_ID

Download a log bundle from the manager.

LOG_BUNDLE_ID is the id of the log bundle to download.

Optional flags

 

Example

$ cfy log-bundles download test
...

Downloading log_bundle test...
 test |################################################################| 100.0%
Log bundle downloaded as test.zip

...

list

Usage

cfy log-bundles list [OPTIONS]

List all log bundles on the manager. You can use this command to retrieve the IDs of the log-bundles you want to download or delete.

Optional flags

 

Example

$ cfy log-bundles list
...

Listing log_bundles...

Log bundles:
+------+--------------------------+---------+-------+------------+----------------+------------+
|  id  |        created_at        |  status | error | visibility |  tenant_name   | created_by |
+------+--------------------------+---------+-------+------------+----------------+------------+
| test | 2023-04-28 08:19:18.148  | created |       |  private   | default_tenant |   admin    |
+------+--------------------------+---------+-------+------------+----------------+------------+

Showing 1 of 1 log_bundles

...