<?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 Compression ratio for index replication in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231289#M8637</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;We are currently estimating our network bandwidth needs and one of the questions we are trying to answer is about compression ratios for index replication.&lt;/P&gt;

&lt;P&gt;So let's assume all our data comes from one site. This is, let's say, 100GB per day. That goes through the following chain:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Collection (Universal Fws) ==(X GB)==&amp;gt; Filtering (Heavy FW) ==(Y GB)==&amp;gt; Storage (Index Site 1) ==(Z GB)==&amp;gt; Replication (Index Site 2)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am trying to answer what the values of X, Y and Z (network throughput) would be on average.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;X: Uncooked data. If we use SSL, compression ratio would be 1:14 on average according to &lt;A href="https://answers.splunk.com/answers/92067/forwarder-output-compression-ratio.html"&gt;this&lt;/A&gt; = 7.14GB&lt;/LI&gt;
&lt;LI&gt;Y: Cooked data. SSL. Compression ratio 1:14 but no change with the previous &lt;A href="https://answers.splunk.com/answers/92067/forwarder-output-compression-ratio.html"&gt;one&lt;/A&gt; = 7.14GB&lt;/LI&gt;
&lt;LI&gt;Z: Indexed data. Bucket is replicated and includes both RAW and Indexes = ?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
    <pubDate>Wed, 13 Jan 2016 13:16:33 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2016-01-13T13:16:33Z</dc:date>
    <item>
      <title>Compression ratio for index replication</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231289#M8637</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;We are currently estimating our network bandwidth needs and one of the questions we are trying to answer is about compression ratios for index replication.&lt;/P&gt;

&lt;P&gt;So let's assume all our data comes from one site. This is, let's say, 100GB per day. That goes through the following chain:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Collection (Universal Fws) ==(X GB)==&amp;gt; Filtering (Heavy FW) ==(Y GB)==&amp;gt; Storage (Index Site 1) ==(Z GB)==&amp;gt; Replication (Index Site 2)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am trying to answer what the values of X, Y and Z (network throughput) would be on average.&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;X: Uncooked data. If we use SSL, compression ratio would be 1:14 on average according to &lt;A href="https://answers.splunk.com/answers/92067/forwarder-output-compression-ratio.html"&gt;this&lt;/A&gt; = 7.14GB&lt;/LI&gt;
&lt;LI&gt;Y: Cooked data. SSL. Compression ratio 1:14 but no change with the previous &lt;A href="https://answers.splunk.com/answers/92067/forwarder-output-compression-ratio.html"&gt;one&lt;/A&gt; = 7.14GB&lt;/LI&gt;
&lt;LI&gt;Z: Indexed data. Bucket is replicated and includes both RAW and Indexes = ?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
J&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 13:16:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231289#M8637</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2016-01-13T13:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Compression ratio for index replication</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231290#M8638</link>
      <description>&lt;P&gt;SSL compression only applies during transit.&lt;/P&gt;

&lt;P&gt;When the data arrives at the indexers the following will be true:&lt;/P&gt;

&lt;P&gt;Data Size Against License - 100GB&lt;BR /&gt;
Data Size Stored in Index - ~50GB&lt;BR /&gt;
Data Size Replicated Across Network from Indexer 1 to Indexer 2 - ~50GB&lt;/P&gt;

&lt;P&gt;The final compression ratio has a lot to do with the type of data.  Example, binary data cant be compressed at all, text files compress up to 99%, etc.  So we generally go with 50% final compression for capacity planning.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.2/Indexer/Systemrequirements#Storage_requirement_examples" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.2/Indexer/Systemrequirements#Storage_requirement_examples&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Honestly, it will vary based on how much indexing overhead you have more so than the type of data, as most data compresses to about 15% and then the key value pairs and other indexing overhead accounts for about 35% of the final storage requirement.  Also your replication factor matters.  The link above is your best bet.&lt;/P&gt;

&lt;P&gt;Same answers are given here: &lt;A href="https://answers.splunk.com/answers/147951/what-is-the-compression-ratio-of-raw-data-in-splunk.html" target="_blank"&gt;https://answers.splunk.com/answers/147951/what-is-the-compression-ratio-of-raw-data-in-splunk.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:22:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231290#M8638</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T08:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Compression ratio for index replication</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231291#M8639</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
just to add one important thing (if someone finds this article using a search engine).&lt;BR /&gt;
In a normal clustered environment, a primary peer (indexer) is only streaming the compressed raw data (aka journal.gz) and some metadata, we estimate this volume with 15% of RAW.&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Bucketsandclusters"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Indexer/Bucketsandclusters&lt;/A&gt;&lt;BR /&gt;
The secondary peer is then indexing the data again, depending on the search factor configured.&lt;BR /&gt;
Just to make sure we are talking about the right thing....&lt;BR /&gt;
If an indexer is streaming 100GB/day of raw data (which is approx 15GB/day in journal.gz) this results in about 1/6th megabyte/sec on the wire... which is approx 1.5 MEGABIT/sec... &lt;/P&gt;

&lt;P&gt;I don't want to be rude... but &lt;/P&gt;

&lt;P&gt;Guys, really? Bandwidth control in a datacenter? For 1/600th or 1/6000th of your available bandwidth? &lt;/P&gt;

&lt;P&gt;HTH,&lt;BR /&gt;
Holger&lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 07:50:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231291#M8639</guid>
      <dc:creator>hsesterhenn_spl</dc:creator>
      <dc:date>2018-04-05T07:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: Compression ratio for index replication</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231292#M8640</link>
      <description>&lt;P&gt;It’s not a matter of IF but WHEN a client will ask you to calculate how much bandwidth splunk will consume.  The question is valid.  So what are you adding to the answer here?  &lt;/P&gt;</description>
      <pubDate>Thu, 05 Apr 2018 11:14:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Compression-ratio-for-index-replication/m-p/231292#M8640</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-04-05T11:14:15Z</dc:date>
    </item>
  </channel>
</rss>

