# logs

The cldkctl registry logs command displays the logs for a specific registry in the project. This command shows log entries related to the registry’s operations, including events, actions, and other related activities.

## Usage

```
cldkctl registry logs [registry name] [flags]
```

## Aliases

```
logs, log
```

## Steps

Follow the steps below to run and view the result of this command:

1. Make sure to specify the registry name using the --registry global flags before the subcommand.
2. Run the following command in your terminal and replace \<registry\_name> with the name of your target registry.

```
./cldkctl --registry <registry_name> registry logs
```

3. Refer to the Registry List section to view the available registry names.
4. Once executed, the command displays the list of log entries associated with the selected registry.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FJznu0Iz2gJelgL4reD93%2Funknown.png?alt=media&#x26;token=00db0145-fb0d-48cd-a4c7-a2900f34fb2b" alt=""><figcaption></figcaption></figure>

| Column        | Description                                    |
| ------------- | ---------------------------------------------- |
| Username      | The user who performed the action.             |
| Resource      | The name of the registry or resource affected. |
| Resource Type | The type of resource being logged.             |
| Operation     | The type of operation performed.               |
| Time Stamp    | The date and time when the action occurred.    |

## Flags

{% hint style="info" %}
This command supports [global flags](https://docs.cloudeka.ai/cloudeka-api-list/global-flags). Refer to the Global Flags section for details.
{% endhint %}

| Flag                 | Description                                      |
| -------------------- | ------------------------------------------------ |
| -h, --help           | Help for the registry logs command.              |
| -p, --project string | Specifies the project ID to scope the operation. |
