<?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: How much splunk memory use should I expect while monitoring a directory with many entries? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98194#M20496</link>
    <description>&lt;P&gt;We believe that Splunk monitor uses on the order of 1KB per file or directory in a monitored location.  This includes files that will not be read.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Oct 2014 09:24:02 GMT</pubDate>
    <dc:creator>jrodman</dc:creator>
    <dc:date>2014-10-10T09:24:02Z</dc:date>
    <item>
      <title>How much splunk memory use should I expect while monitoring a directory with many entries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98191#M20493</link>
      <description>&lt;P&gt;If I remove the only input stanza I have on a forwarder and restart Splunk the memory usage is 2GB. How can a forwarder use that much memory if I don't have any input stanzas?&lt;/P&gt;

&lt;P&gt;On this page it's described how Splunk use CRC checksums to keep track of which files it has seen before. &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/Howlogfilerotationishandled"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Data/Howlogfilerotationishandled&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;How much space does this data use on disk and in memory if you have let Splunk monitor a directory that over the years have contained more than 1 000 000 files? &lt;/P&gt;

&lt;P&gt;This question is related to this question:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/32528/lots-of-log-files-how-can-i-reduce-forwarder-memory-usage"&gt;http://splunk-base.splunk.com/answers/32528/lots-of-log-files-how-can-i-reduce-forwarder-memory-usage&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2011 12:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98191#M20493</guid>
      <dc:creator>andyk</dc:creator>
      <dc:date>2011-10-26T12:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: How much splunk memory use should I expect while monitoring a directory with many entries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98192#M20494</link>
      <description>&lt;P&gt;Hi andyw. A few questions for you :&lt;BR /&gt;&lt;BR /&gt;
- How do you measure the memory consumption of the forwarder? Which metric (Vsize? RSS?) shows the 2Gb figure?&lt;BR /&gt;&lt;BR /&gt;
- How large is the directory $SPLUNK_HOME/var/lib/splunk/fishbucket on the forwarder?&lt;BR /&gt;
- How many records exist in your fishbucket? To find out, run :&lt;BR /&gt;&lt;BR /&gt;
    $SPLUNK_HOME/bin/splunk cmd btprobe -d $SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db/ -k ALL | wc -l&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98192#M20494</guid>
      <dc:creator>hexx</dc:creator>
      <dc:date>2020-09-28T10:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: How much splunk memory use should I expect while monitoring a directory with many entries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98193#M20495</link>
      <description>&lt;P&gt;I had to modify your command since I'm on Windows: %SPLUNK_HOME%\bin\splunk.exe cmd btprobe -d %SPLUNK_HOME%\var\lib\splunk\fishbucket\splunk_private_db\ -k ALL | find /c "key". The result is 66827.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 10:01:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98193#M20495</guid>
      <dc:creator>andyk</dc:creator>
      <dc:date>2020-09-28T10:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: How much splunk memory use should I expect while monitoring a directory with many entries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98194#M20496</link>
      <description>&lt;P&gt;We believe that Splunk monitor uses on the order of 1KB per file or directory in a monitored location.  This includes files that will not be read.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:24:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98194#M20496</guid>
      <dc:creator>jrodman</dc:creator>
      <dc:date>2014-10-10T09:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How much splunk memory use should I expect while monitoring a directory with many entries?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98195#M20497</link>
      <description>&lt;P&gt;Try to clean out your fishbucket. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;%SPLUNK_HOME%/bin/splunk stop 
%SPLUNK_HOME%/bin/splunk clean eventdata -index _fishbucket 
%SPLUNK_HOME%/bin/splunk start
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Oct 2014 09:28:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-much-splunk-memory-use-should-I-expect-while-monitoring-a/m-p/98195#M20497</guid>
      <dc:creator>peter_krammer</dc:creator>
      <dc:date>2014-10-10T09:28:07Z</dc:date>
    </item>
  </channel>
</rss>

