# null

![](https://1982584918-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LR7OsqPORtP86IQxs6E-694727794%2Fuploads%2Fgit-blob-66ea86f2cb8576b80e78c902952ec08fdbe55582%2Fnull.png?alt=media)

The `null` output plugin just throws away events.

It is included in Fluentd's core.

## Example Configuration

```
<match pattern>
  @type null
</match>
```

Please see the [Configuration File](https://docs.fluentd.org/configuration/config-file) article for the basic structure and syntax of the configuration file.

## Supported Modes

* Non-Buffered
* Synchronous
* Asynchronous

See [Output Plugin Overview](https://docs.fluentd.org/output) for more details.

## Parameters

[Common Parameters](https://docs.fluentd.org/configuration/plugin-common-parameters)

### `@type`

The value must be `null`.

### `never_flush`

| type | default | version |
| ---- | ------- | ------- |
| bool | false   | 0.14.12 |

The parameter for testing to simulate the output plugin that never succeeds to flush.

### `<buffer>` Section

See [Buffer section configurations](https://docs.fluentd.org/configuration/buffer-section) for more details.

#### `chunk_keys`

| type  | default | version |
| ----- | ------- | ------- |
| array | tag     | 0.14.5  |

Overwrites the default value in this plugin.

#### `flush_at_shutdown`

| type | default | version |
| ---- | ------- | ------- |
| bool | true    | 0.14.5  |

Overwrites the default value in this plugin.

#### `chunk_limit_size`

| type | default | version |
| ---- | ------- | ------- |
| size | 10240   | 0.14.5  |

Overwrites the default value in this plugin.

## Common Buffer / Output parameters

See [Buffer Plugin Overview](https://docs.fluentd.org/buffer) and [Output Plugin Overview](https://docs.fluentd.org/output).

If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation (CNCF)](https://cncf.io/). All components are available under the Apache 2 License.
