<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What kind of compression is used between forwarders and indexers? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-kind-of-compression-is-used-between-forwarders-and-indexers/m-p/103240#M21693</link>
    <description>&lt;P&gt;This mostly depends on one fact: Are you forwarding using SSL or not?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;If you are not using SSL&lt;/STRONG&gt; to forward, there is no compression enabled by default, so you'll have to set &lt;CODE&gt;compressed = true&lt;/CODE&gt; in the appropriate stanzas of the indexer's &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/admin/inputsconf"&gt;inputs.conf&lt;/A&gt;:&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;CODE&gt;compressed = [true|false]&lt;BR /&gt;
    * Specifies whether receiving compressed data.&lt;BR /&gt;
    * If set to true, the forwarder port(s) should also have compression turned on; otherwise, the receiver will reject the connection.&lt;BR /&gt;
    * Defaults to false.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;... and in the forwarder's &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Outputsconf"&gt;outputs.conf&lt;/A&gt;:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;compressed = [true|false]&lt;BR /&gt;
    * Applies to non-SSL forwarding only. For SSL useClientSSLCompression setting is used.&lt;BR /&gt;
    * If true, forwarder sends compressed data.&lt;BR /&gt;
    * If set to true, the receiver port must also have compression turned on (in its inputs.conf file).&lt;BR /&gt;
    * Defaults to false.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;In this configuration, splunkd performs what is sometimes referred to as "native compression". The zlib library will be used to compress outgoing data chunks individually. Please note that this is particularly inefficient when the sender is a heavy/regular forwarder, as each data chunk represents one event and therefore is too small to be heavily compressed. For universal/lightweight forwarders, compression is significantly more efficient due to the 64KB size of the data chunks processed and sent out.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;If you are using SSL&lt;/STRONG&gt; to forward, you will benefit from zlib compression by default, courtesy of OpenSSL. The zlib library is also used here but the compression ratio will typically be &lt;STRONG&gt;a lot&lt;/STRONG&gt; higher than for "native" compression because zlib will operate on much larger chunks of data.&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 26 Oct 2012 00:38:18 GMT</pubDate>
    <dc:creator>hexx</dc:creator>
    <dc:date>2012-10-26T00:38:18Z</dc:date>
    <item>
      <title>What kind of compression is used between forwarders and indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-kind-of-compression-is-used-between-forwarders-and-indexers/m-p/103239#M21692</link>
      <description>&lt;P&gt;Just curious to know the format (gzip?) of the compression, and also the compression factor that can be expected? &lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
bw&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2012 21:58:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-kind-of-compression-is-used-between-forwarders-and-indexers/m-p/103239#M21692</guid>
      <dc:creator>bobwalden</dc:creator>
      <dc:date>2012-10-25T21:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: What kind of compression is used between forwarders and indexers?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-kind-of-compression-is-used-between-forwarders-and-indexers/m-p/103240#M21693</link>
      <description>&lt;P&gt;This mostly depends on one fact: Are you forwarding using SSL or not?&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;If you are not using SSL&lt;/STRONG&gt; to forward, there is no compression enabled by default, so you'll have to set &lt;CODE&gt;compressed = true&lt;/CODE&gt; in the appropriate stanzas of the indexer's &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/admin/inputsconf"&gt;inputs.conf&lt;/A&gt;:&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;&lt;CODE&gt;compressed = [true|false]&lt;BR /&gt;
    * Specifies whether receiving compressed data.&lt;BR /&gt;
    * If set to true, the forwarder port(s) should also have compression turned on; otherwise, the receiver will reject the connection.&lt;BR /&gt;
    * Defaults to false.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;... and in the forwarder's &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Outputsconf"&gt;outputs.conf&lt;/A&gt;:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;compressed = [true|false]&lt;BR /&gt;
    * Applies to non-SSL forwarding only. For SSL useClientSSLCompression setting is used.&lt;BR /&gt;
    * If true, forwarder sends compressed data.&lt;BR /&gt;
    * If set to true, the receiver port must also have compression turned on (in its inputs.conf file).&lt;BR /&gt;
    * Defaults to false.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;In this configuration, splunkd performs what is sometimes referred to as "native compression". The zlib library will be used to compress outgoing data chunks individually. Please note that this is particularly inefficient when the sender is a heavy/regular forwarder, as each data chunk represents one event and therefore is too small to be heavily compressed. For universal/lightweight forwarders, compression is significantly more efficient due to the 64KB size of the data chunks processed and sent out.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;If you are using SSL&lt;/STRONG&gt; to forward, you will benefit from zlib compression by default, courtesy of OpenSSL. The zlib library is also used here but the compression ratio will typically be &lt;STRONG&gt;a lot&lt;/STRONG&gt; higher than for "native" compression because zlib will operate on much larger chunks of data.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Oct 2012 00:38:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-kind-of-compression-is-used-between-forwarders-and-indexers/m-p/103240#M21693</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2012-10-26T00:38:18Z</dc:date>
    </item>
  </channel>
</rss>

