> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bronto.io/llms.txt
> Use this file to discover all available pages before exploring further.

# bronto datasets

> Manage datasets

Manage datasets

<Tip>
  * **Platform docs:** [docs.bronto.io/Search-and-Visualize/Partitions](https://docs.bronto.io/Search-and-Visualize/Partitions)
  * **API reference:** [docs.bronto.io/api-reference/datasets/retrieve-a-list-of-datasets](https://docs.bronto.io/api-reference/datasets/retrieve-a-list-of-datasets)
</Tip>

```sh theme={"dark"}
bronto datasets <command> [flags]
```

#### Subcommands

| Command | Description |
| - | - |
| [`bronto datasets create`](/cli/reference/commands/datasets#bronto-datasets-create) | Create a dataset |
| [`bronto datasets delete`](/cli/reference/commands/datasets#bronto-datasets-delete) | Delete a dataset |
| [`bronto datasets get`](/cli/reference/commands/datasets#bronto-datasets-get) | Get a dataset by ID |
| [`bronto datasets list`](/cli/reference/commands/datasets#bronto-datasets-list) | List datasets |
| [`bronto datasets parser`](/cli/reference/commands/datasets#bronto-datasets-parser) | Show or change the parser assigned to a dataset |
| [`bronto datasets update`](/cli/reference/commands/datasets#bronto-datasets-update) | Update a dataset |

Also accepts the [global flags](/cli/reference/commands/global-flags).

## bronto datasets create

Create a dataset

```sh theme={"dark"}
bronto datasets create [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--field` | `-f` | stringArray | | request body field as key=value; values parse as JSON when possible (repeatable) |
| `--input` | | string | | read the request body from a file, or - for stdin |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets create -f collection=<collection> -f dataset=<dataset>
bronto datasets create --input body.json
```

## bronto datasets delete

Delete a dataset

```sh theme={"dark"}
bronto datasets delete <id> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--yes` | | bool | | skip the confirmation prompt |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets delete <id> --yes
```

## bronto datasets get

Get a dataset by ID

```sh theme={"dark"}
bronto datasets get <id> [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets get <id>
```

## bronto datasets list

List datasets

```sh theme={"dark"}
bronto datasets list [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets list
```

## bronto datasets parser

Show or change the parser assigned to a dataset

<Tip>
  * **Platform docs:** [docs.bronto.io/core-features/custom-parser](https://docs.bronto.io/core-features/custom-parser)
</Tip>

```sh theme={"dark"}
bronto datasets parser <command> [flags]
```

#### Subcommands

| Command | Description |
| - | - |
| [`bronto datasets parser get`](/cli/reference/commands/datasets#bronto-datasets-parser-get) | Show the parser assigned to a dataset |
| [`bronto datasets parser set`](/cli/reference/commands/datasets#bronto-datasets-parser-set) | Assign a parser to a dataset |
| [`bronto datasets parser unset`](/cli/reference/commands/datasets#bronto-datasets-parser-unset) | Remove the parser assignment from a dataset |

Also accepts the [global flags](/cli/reference/commands/global-flags).

## bronto datasets parser get

Show the parser assigned to a dataset

```sh theme={"dark"}
bronto datasets parser get <dataset> [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets parser get default/nginx
```

## bronto datasets parser set

Assign a parser to a dataset

```sh theme={"dark"}
bronto datasets parser set <dataset> <parser> [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets parser set default/nginx nginx_combined
```

## bronto datasets parser unset

Remove the parser assignment from a dataset

```sh theme={"dark"}
bronto datasets parser unset <dataset> [flags]
```

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets parser unset default/nginx
```

## bronto datasets update

Update a dataset

```sh theme={"dark"}
bronto datasets update <id> [flags]
```

#### Flags

| Flag | Short | Type | Default | Description |
| - | - | - | - | - |
| `--field` | `-f` | stringArray | | request body field as key=value; values parse as JSON when possible (repeatable) |
| `--input` | | string | | read the request body from a file, or - for stdin |

Also accepts the [global flags](/cli/reference/commands/global-flags).

#### Examples

```sh theme={"dark"}
bronto datasets update <id> -f name=<name>
bronto datasets update <id> --input body.json
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.