﻿---
title: cloud serverless projects observability create cli command
description: Create an observability project Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/4118/reference/elastic-cli/cli/cloud/serverless/projects/observability/create
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# cloud serverless projects observability create cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic cloud serverless projects observability create \
  --name <name> \
  --region-id <region-id> \
  [options]
```

Create an observability project
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--name string required">
  </definition>
  <definition term="--region-id string required">
  </definition>
  <definition term="--exclude-credentials">
    If true, the username and password fields in the response credentials are set to empty strings and no usable credentials are returned. Credentials can be retrieved later using the _reset-credentials endpoint.
  </definition>
  <definition term="--alias string">
  </definition>
  <definition term="--traffic-filters string[]">
    **Repeatable:** pass `--traffic-filters` multiple times to supply more than one value
  </definition>
  <definition term="--product-tier enum">
    **Values:** complete, logs_essentials
  </definition>
  <definition term="--linked string">
  </definition>
  <definition term="--metadata string">
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
  <definition term="--yes">
    confirm destructive action without prompting
  </definition>
  <definition term="--wait">
    Wait for the project to reach "initialized" phase before returning
  </definition>
  <definition term="--save-as string">
    store returned credentials in the OS keychain and upsert a context of this name
  </definition>
  <definition term="--credentials-file string">
    write credentials to a standalone YAML config fragment at this path (0600)
  </definition>
  <definition term="--config-file string">
    override the config file written by --save-as (defaults to ~/.elasticrc.yml)
  </definition>
  <definition term="--force">
    overwrite an existing context (--save-as) or file (--credentials-file)
  </definition>
  <definition term="--show-credentials">
    print credentials in plain text (default: redacted)
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>