> For AI agents: the complete documentation index is available at https://www.jumpserver.com/docs/v4/llms.txt, the full documentation bundle is available at https://www.jumpserver.com/docs/v4/llms-full.txt.

# Command storage

JumpServer allows administrators to configure command storage for saving command logs generated during asset sessions.

The following command storage types are currently supported:

- Built-in types:
  - Local (stores command logs locally)
  - Null (does not store command logs)
- Cloud or external storage types:
  - Elasticsearch

## Create a command storage


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

In the left menu, click **<Icon name="Storage" /> Storage**.

3

On the right page, click **Command storage** tab.

4

Click **+ Create**, and select the desired command storage type.

5

Fill in the required information for the selected command storage type.

6

Click **Submit**.

## Set a default command storage

After setting a default storage, newly registered components will automatically use it. The command storage type of existing components will remain unchanged.


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

In the left menu, click **<Icon name="Storage" /> Storage**.

3

On the right page, click **Command storage** tab.

4

Find the command storage you want to set as default.

5

In the Actions column, click the **···** icon, then click **Set as default**.

## Test the command storage

You can test whether the configured command storage is working properly.


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

In the left menu, click **<Icon name="Storage" /> Storage**.

3

On the right page, click **Command storage** tab.

4

Find the command storage you want to test.

5

In the Actions column, click the **···** icon, then click **Test**.

## Edit a command storage


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

In the left menu, click **<Icon name="Storage" /> Storage**.

3

On the right page, click **Command storage** tab.

4

Find the command storage you want to edit.

5

In the Actions column, click **Edit**.

## Delete a command storage


1

In the right area of the top navigation bar, click .

![image](/docs/images/docs/navs/nav-settings.png)

2

In the left menu, click **<Icon name="Storage" /> Storage**.

3

On the right page, click **Command storage** tab.

4

Find the command storage you want to delete.

5

In the Actions column, click the **···** icon, then click **Delete**.
