# cldkctl logs

The logs command allows you to view and analyze activity logs within your organization’s Cloudeka environment. This command helps monitor actions performed, configuration changes, and security-related events by users across projects. It is particularly useful for auditing, troubleshooting, and reviewing system or user-level activities.

## Usage

```
cldkctl logs [flags]
```

## Aliases

```
logs, log
```

## Steps

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

1. Run the following command in your terminal:

```
./cldkctl logs
```

2. Wait for the CLI to retrieve recent activity logs within your organization.
3. Review the listed events to monitor activities, changes, and performed operations.

<figure><img src="/files/dPUnRtcgPKMfsQRLa3qd" alt=""><figcaption></figcaption></figure>

| Column     | Description                                                                                                                            |
| ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| Activities | Displays a list of recent actions performed within the organization’s cloud environment.                                               |
| Event      | Describes the activity performed, such as creating, updating, or deleting a resource (e.g., Create Zone, Update CDN Setting).          |
| Action     | Specifies the result or action details along with the responsible user or system process (e.g., Success Create Zone by UserTestingAI). |
| Project    | The project name where the event occurred.                                                                                             |
| IP Address | The IP address of the client or user who executed the action.                                                                          |
| Date       | The timestamp indicating when the activity occurred, displayed in DD/MM/YYYY hh:mm AM/PM format.                                       |

## Flags

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

| Flag       | Description                |
| ---------- | -------------------------- |
| -h, --help | Help for the logs command. |


---

# 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.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-logs.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.
