mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
45 lines
850 B
HTML
45 lines
850 B
HTML
---
|
|
title: logstash docs for codecs/json_spooler
|
|
layout: content_right
|
|
---
|
|
<h2>json_spooler</h2>
|
|
<h3>Milestone: <a href="../plugin-milestones">1</a></h3>
|
|
|
|
|
|
|
|
|
|
<h3> Synopsis </h3>
|
|
|
|
This is what it might look like in your config file:
|
|
|
|
<pre><code># with an input plugin:
|
|
# you can also use this codec with an output.
|
|
input {
|
|
file {
|
|
codec => json_spooler {
|
|
<a href="#spool_size">spool_size</a> => ... # number (optional), default: 50
|
|
}
|
|
}
|
|
}
|
|
</code></pre>
|
|
|
|
<h3> Details </h3>
|
|
|
|
<h4>
|
|
<a name="spool_size">
|
|
spool_size
|
|
|
|
</a>
|
|
</h4>
|
|
|
|
<ul>
|
|
<li> Value type is <a href="../configuration#number">number</a> </li>
|
|
<li> Default value is 50 </li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
This is documentation from <a href="https://github.com/logstash/logstash/blob/v1.2.0.beta1/lib/logstash/codecs/json_spooler.rb">lib/logstash/codecs/json_spooler.rb</a>
|