mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
45 lines
811 B
HTML
45 lines
811 B
HTML
---
|
|
title: logstash docs for codecs/msgpack
|
|
layout: content_right
|
|
---
|
|
<h2>msgpack</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 => msgpack {
|
|
<a href="#format">format</a> => ... # string (optional), default: nil
|
|
}
|
|
}
|
|
}
|
|
</code></pre>
|
|
|
|
<h3> Details </h3>
|
|
|
|
<h4>
|
|
<a name="format">
|
|
format
|
|
|
|
</a>
|
|
</h4>
|
|
|
|
<ul>
|
|
<li> Value type is <a href="../configuration#string">string</a> </li>
|
|
<li> Default value is nil </li>
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
<hr>
|
|
|
|
This is documentation from <a href="https://github.com/logstash/logstash/blob/v1.2.0.beta1/lib/logstash/codecs/msgpack.rb">lib/logstash/codecs/msgpack.rb</a>
|