This is a community-contributed plugin! It does not ship with logstash by default, but it is easy to install!
To use this, you must have installed the contrib plugins package.
Synopsis
This is what it might look like in your config file:
# with an input plugin:
# you can also use this codec with an output.
input {
file {
codec => compress_spooler {
compress_level => ... # number (optional), default: 6
spool_size => ... # number (optional), default: 50
}
}
}