# list

The command displays the identifiers for all available log entries, or only those for the specified workload.

## Usage

```
vhsm nitride log list [workload] [flags]
```

* `workload` (optional): The name of the workload to filter logs for. If omitted, all logs are listed.

#### Flags

* [Global HTTP Options](/nitride/cli.md#global-options)
* [Output Options](/nitride/cli.md#output-options)
* [Command Options](/nitride/cli.md#command-options)

***

#### Examples

List all log entries

```
vhsm nitride log list
```

**Output**

```
Keys
----
3a06c363-8a72-4d29-b300-20f00ed21083/
d5bb4dfd-7030-41f8-9dbf-226af388416f/
```

List all log entries for a specific workload

```
vhsm nitride log list 3a06c363-8a72-4d29-b300-20f00ed21083
```

**Output**

```
Keys
----
2025-07-14T01:55:20.842186955Z_
2025-07-14T02:03:58.962219768Z_
2025-07-14T02:04:25.306610579Z_
2025-07-14T02:05:09.791907593Z_HyWet5H1ZOANSk7ICzUFEyCICkDsC2AjGujfadCu0kjlPv8rWTX-09YOa8WxMEnTATds6EPl4Xvn3X79gLEQlw==
2025-07-14T02:05:51.853853411Z_HyWet5H1ZOANSk7ICzUFEyCICkDsC2AjGujfadCu0kjlPv8rWTX-09YOa8WxMEnTATds6EPl4Xvn3X79gLEQlw==
2025-07-14T02:06:52.253612569Z_HyWet5H1ZOANSk7ICzUFEyCICkDsC2AjGujfadCu0kjlPv8rWTX-09YOa8WxMEnTATds6EPl4Xvn3X79gLEQlw==
```

List all log entries for a workload in YAML format:

```
vhsm nitride log list vtpm-ubuntu -format=yaml
```

**Output**

```
- 2025-07-14T01:55:20.842186955Z_
- 2025-07-14T02:03:58.962219768Z_
- 2025-07-14T02:04:25.306610579Z_
- 2025-07-14T02:05:09.791907593Z_HyWet5H1ZOANSk7ICzUFEyCICkDsC2AjGujfadCu0kjlPv8rWTX-09YOa8WxMEnTATds6EPl4Xvn3X79gLEQlw==
- 2025-07-14T02:05:51.853853411Z_HyWet5H1ZOANSk7ICzUFEyCICkDsC2AjGujfadCu0kjlPv8rWTX-09YOa8WxMEnTATds6EPl4Xvn3X79gLEQlw==
- 2025-07-14T02:06:52.253612569Z_HyWet5H1ZOANSk7ICzUFEyCICkDsC2AjGujfadCu0kjlPv8rWTX-09YOa8WxMEnTATds6EPl4Xvn3X79gLEQlw==
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.enclaive.cloud/nitride/cli/log/list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
