<?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 max index size value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25980#M4963</link>
    <description>&lt;P&gt;How do I search for and return the max index size as defined by the indexes.conf file?&lt;/P&gt;

&lt;P&gt;I want to get the same value that you can see from the Manager &amp;gt; indexes page (Max size (MB) of entire index )&lt;/P&gt;

&lt;P&gt;metadata or dbinspect?&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2011 16:20:41 GMT</pubDate>
    <dc:creator>EricPartington</dc:creator>
    <dc:date>2011-06-09T16:20:41Z</dc:date>
    <item>
      <title>max index size value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25980#M4963</link>
      <description>&lt;P&gt;How do I search for and return the max index size as defined by the indexes.conf file?&lt;/P&gt;

&lt;P&gt;I want to get the same value that you can see from the Manager &amp;gt; indexes page (Max size (MB) of entire index )&lt;/P&gt;

&lt;P&gt;metadata or dbinspect?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2011 16:20:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25980#M4963</guid>
      <dc:creator>EricPartington</dc:creator>
      <dc:date>2011-06-09T16:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: max index size value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25981#M4964</link>
      <description>&lt;P&gt;Okay, I'll give it a shot...I didn't see any way of doing this with either metadata or dbinspect...but here's what I did:&lt;/P&gt;

&lt;P&gt;1) I splunked Splunk...basically, I started monitoring my /splunk/etc directory and ingesting all my splunk config files&lt;BR /&gt;
2) I determined that the parameter I was looking for in the indexes.conf file is: maxTotalDataSizeMB&lt;BR /&gt;
3) I defined a field extraction to extract the "header" of each section of a splunk conf file...my regex is: (?im)^(?P&lt;HEADER&gt;[.+]$) ...this helps when I perform my search&lt;BR /&gt;
4) The search I used after doing all this was:&lt;/HEADER&gt;&lt;/P&gt;

&lt;P&gt;source="/splunk/etc/system/local/indexes.conf" | table Header maxTotalDataSizeMB | rename Header to Index&lt;/P&gt;

&lt;P&gt;Index   maxTotalDataSizeMB&lt;/P&gt;

&lt;P&gt;[_thefishbucket]    600000&lt;/P&gt;

&lt;P&gt;(this is what the results looked like...well, it looked better in Splunk, but hopefully you get the picture)...by the way, this matched up exactly to what I saw in manager.&lt;/P&gt;

&lt;P&gt;Not at all sure if this solves your problem the way you wanted it solved, but I had fun trying to figure it out!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2011 22:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25981#M4964</guid>
      <dc:creator>cgilbert_splunk</dc:creator>
      <dc:date>2011-06-09T22:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: max index size value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25982#M4965</link>
      <description>&lt;P&gt;I'll give this a shot, although I have a distributed environment and am using deployment server so i'll be looking to injest each indexes.conf file from each app.&lt;BR /&gt;
should be interesting to see if this works.&lt;/P&gt;

&lt;P&gt;thanks for the suggestion.&lt;/P&gt;</description>
      <pubDate>Sat, 18 Jun 2011 22:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/max-index-size-value/m-p/25982#M4965</guid>
      <dc:creator>EricPartington</dc:creator>
      <dc:date>2011-06-18T22:08:35Z</dc:date>
    </item>
  </channel>
</rss>

