<?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: Why is my dashboard panel search using up so much disk space? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274638#M82841</link>
    <description>&lt;P&gt;I'm guessing your &lt;CODE&gt;by domain&lt;/CODE&gt; has very high cardinality, making the temporary search results huge. Solving high-cardinality problems is an inherently hard thing to do. Additionally, check how large the set after the &lt;CODE&gt;where&lt;/CODE&gt; is, large sorts can also use temporary files. This may be indicated in search.log accessible through the job inspector. To find out what specifically uses up space, check out the contents of &lt;CODE&gt;$SPLUNK_HOME/var/run/splunk/dispatch/&amp;lt;search id&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 04 Apr 2016 21:13:17 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2016-04-04T21:13:17Z</dc:date>
    <item>
      <title>Why is my dashboard panel search using up so much disk space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274637#M82840</link>
      <description>&lt;P&gt;I am having trouble with the search for a dashboard panel. The job is taking up too much of my disk quota (~350MB when run over 24 hour period) and is causing other jobs to queue up because I have exceeded my quota. &lt;/P&gt;

&lt;P&gt;Obviously I can increase my disk quota, but I was trying to figure out why this job is such a disk hog in the first place and fix that because from what I can see, it should only be storing 10 rows of a table with a handful of columns each. &lt;/P&gt;

&lt;P&gt;Is anyone able to explain why this search would use so much disk space or suggest any improvements?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="proxylogs" | stats sum(bytes_from_client) as BytesFromClient, distinct_count(client_ip) as DistinctClient by domain | where BytesFromClient &amp;gt; 10000000 AND DistinctClient &amp;lt; 40 | eval Upload(GB)=BytesFromClient/1073741824 | fields domain, Upload(GB) | sort 10 - Upload(GB)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Apr 2016 20:43:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274637#M82840</guid>
      <dc:creator>drewg33</dc:creator>
      <dc:date>2016-04-04T20:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel search using up so much disk space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274638#M82841</link>
      <description>&lt;P&gt;I'm guessing your &lt;CODE&gt;by domain&lt;/CODE&gt; has very high cardinality, making the temporary search results huge. Solving high-cardinality problems is an inherently hard thing to do. Additionally, check how large the set after the &lt;CODE&gt;where&lt;/CODE&gt; is, large sorts can also use temporary files. This may be indicated in search.log accessible through the job inspector. To find out what specifically uses up space, check out the contents of &lt;CODE&gt;$SPLUNK_HOME/var/run/splunk/dispatch/&amp;lt;search id&amp;gt;&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 21:13:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274638#M82841</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2016-04-04T21:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: Why is my dashboard panel search using up so much disk space?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274639#M82842</link>
      <description>&lt;P&gt;One option could be to use summary indexing to pre-calculate the summary for smallar period, say 1 Hr and then run your query on the summarized data.  See more information here.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0.5/Knowledge/Usesummaryindexing"&gt;http://docs.splunk.com/Documentation/Splunk/6.0.5/Knowledge/Usesummaryindexing&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://wiki.splunk.com/Community:Summary_Indexing"&gt;https://wiki.splunk.com/Community:Summary_Indexing&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2016 21:38:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-my-dashboard-panel-search-using-up-so-much-disk-space/m-p/274639#M82842</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-04-04T21:38:57Z</dc:date>
    </item>
  </channel>
</rss>

