---
title: Compress_spooler codec plugin v2.0.6
description: Plugin version: v2.0.6, Released on: 2017-08-15, Changelog. For other versions, see the overview list. To learn more about Logstash, see the Logstash...
url: https://www.elastic.co/docs/reference/logstash/versioned-plugins/v2-0-6-plugins-codecs-compress_spooler
products:
  - Logstash
applies_to:
  - Elastic Stack: Generally available
---

# Compress_spooler codec plugin v2.0.6
- Plugin version: v2.0.6
- Released on: 2017-08-15
- [Changelog](https://github.com/logstash-plugins/logstash-codec-compress_spooler/blob/v2.0.6/CHANGELOG.md)

For other versions, see the [overview list](https://www.elastic.co/docs/reference/logstash/versioned-plugins/codec-compress_spooler-index).
To learn more about Logstash, see the [Logstash Reference](https://www.elastic.co/guide/en/logstash/current/index.html).

## Getting help

For questions about the plugin, open a topic in the [Discuss](http://discuss.elastic.co) forums. For bugs or feature requests, open an issue in [Github](https://github.com/logstash-plugins/logstash-codec-compress_spooler). For the list of Elastic supported plugins, please consult the [Elastic Support Matrix](https://www.elastic.co/support/matrix#matrix_logstash_plugins).

## Description

The compress_spooler codec.

## Compress_spooler Codec Configuration Options


| Setting                                                                    | Input type                                                    | Required |
|----------------------------------------------------------------------------|---------------------------------------------------------------|----------|
| [`compress_level`](#v2.0.6-plugins-codecs-compress_spooler-compress_level) | [number](/docs/reference/logstash/plugins/value-types#number) | No       |
| [`min_flush_time`](#v2.0.6-plugins-codecs-compress_spooler-min_flush_time) | [number](/docs/reference/logstash/plugins/value-types#number) | No       |
| [`spool_size`](#v2.0.6-plugins-codecs-compress_spooler-spool_size)         | [number](/docs/reference/logstash/plugins/value-types#number) | No       |


### `compress_level`

- Value type is [number](/docs/reference/logstash/plugins/value-types#number)
- Default value is `6`


### `min_flush_time`

- Value type is [number](/docs/reference/logstash/plugins/value-types#number)
- Default value is `0`

The amount of time in seconds since last flush before a flush is forced, on the next event. Values smaller than 0 disables time based flushing.

### `spool_size`

- Value type is [number](/docs/reference/logstash/plugins/value-types#number)
- Default value is `50`