# status datasink

The `status datasink` command displays the status of a data-sink job. A data-sink job may consist of several tasks. The status is displayed per task. The tasks may be transferring data from your data source or performing aggregations on the transferred data.

## Syntax

```
status datasink <datasink name>
```

## Parameters

| Parameter         | Description               |
| ----------------- | ------------------------- |
| `<datasink name>` | The name of the data sink |

## Output Fields

| Output Field | Description                                                                                                                                                                                                                                                                  |
| ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `status`     | <p>The status of the task, which is one of the following:<br>- STARTED: The task has just started.<br>- RUNNING: The task is running normally.<br>- STOPPED: The task was stopped by the user.<br>- COMPLETED: The task ran to completion.<br>- FAILED: The task failed.</p> |

## Example

<div align="left"><figure><img src="https://2508510707-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Foy9ZHXC3vsL0Sr36iw78%2Fuploads%2FNuaLsjbdNhTI5cGlG1Ck%2Fstatus_datasink_screen.png?alt=media&#x26;token=7966d59c-129f-4b3f-9e3f-93986c880fbc" alt=""><figcaption></figcaption></figure></div>
