# with an input plugin: # you can also use this codec with an output. input { file { codec => json_spooler { spool_size => ... # number (optional), default: 50 } } }