﻿---
title: sanitize data-stream-namespace cli command
description: Sanitize a data stream namespace component 
url: https://docs-v3-preview.elastic.dev/elastic/cli/pull/458/cli/sanitize/data-stream-namespace
---

# sanitize data-stream-namespace cli command
```bash
elastic sanitize data-stream-namespace <value>
```

Sanitize a data stream namespace component

## Arguments

<definitions>
  <definition term="<value> string required">
    the value to sanitize
  </definition>
</definitions>


## sanitize Options

<definitions>
  <definition term="--[no-]dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
</definitions>


## Global Options

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