<?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 to Count warm buckets per indexer per index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438077#M76391</link>
    <description>&lt;P&gt;Check out the &lt;CODE&gt;Fire Brigade&lt;/CODE&gt; series of apps:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/apps/#/search/brigade/"&gt;https://splunkbase.splunk.com/apps/#/search/brigade/&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 15 Jul 2018 17:13:14 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2018-07-15T17:13:14Z</dc:date>
    <item>
      <title>how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438073#M76387</link>
      <description>&lt;P&gt;I've been trying to evaluate and control the space being used in our hot/warm vol.   I am trying to run searches that will show me the oldest warm data per indexer by index as well as a separate search to count my my warm buckets per indexer by index. &lt;/P&gt;

&lt;P&gt;warm bucket count per indexer by index search. &lt;BR /&gt;
|dbinspect state=warm index=* | stats count by splunk_server index &lt;/P&gt;

&lt;P&gt;This is not returning a true count of the buckets stored in our hot/warm vol.  For instance this search is returning a count of 2 for  our webapp index on indexer idx01 but if I manually go to the bucket location we have almost 300.   I need some help understanding this discrepency and hopefully getting a better query...Maybe I need to manually roll some buckets...  &lt;/P&gt;

&lt;P&gt;The search I am using to try to get an estimate of our oldest hot/warm data by index is this. &lt;BR /&gt;
index=&lt;EM&gt;internal sourcetype=splunkd bucketmover warm_to_cold: | rex field=bucket "db&lt;/EM&gt;(?\d+)&lt;EM&gt;\d+&lt;/EM&gt;" | sort time_cron |convert ctime(time_cron) | dedup idx splunk_server| table splunk_server idx time_cron &lt;/P&gt;

&lt;P&gt;Is this a decent way to do this, is there a better way?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:26:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438073#M76387</guid>
      <dc:creator>saulverde</dc:creator>
      <dc:date>2020-09-29T20:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438074#M76388</link>
      <description>&lt;P&gt;hello there,&lt;/P&gt;

&lt;P&gt;the &lt;CODE&gt;dbinspect&lt;/CODE&gt; command takes the time specified in time picker.&lt;BR /&gt;
thy and run this at &lt;CODE&gt;all time&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbinspect index=*
| search state=warm 
| stats count as bucket_count min(startEpoch) as earliest_event by index splunk_server
| eval earliest_event_human = strftime(earliest_event, "%c")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 17:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438074#M76388</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-07-13T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438075#M76389</link>
      <description>&lt;P&gt;Thanks I'm testing that out now.  If I don't specify index=* I noticed that it only returns information for the main index.  So I added that to your search.   It's running now, I'll let you know if it works.  Thanks again. &lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 18:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438075#M76389</guid>
      <dc:creator>saulverde</dc:creator>
      <dc:date>2018-07-13T18:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438076#M76390</link>
      <description>&lt;P&gt;yes you re right, forgot to add it.&lt;BR /&gt;
modifying the answer&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jul 2018 19:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438076#M76390</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-07-13T19:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438077#M76391</link>
      <description>&lt;P&gt;Check out the &lt;CODE&gt;Fire Brigade&lt;/CODE&gt; series of apps:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/apps/#/search/brigade/"&gt;https://splunkbase.splunk.com/apps/#/search/brigade/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jul 2018 17:13:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438077#M76391</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2018-07-15T17:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438078#M76392</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/74026"&gt;@saulverde&lt;/a&gt;&lt;/P&gt;

&lt;P&gt;you can also find the bucket for the indexes in introspection index.&lt;/P&gt;

&lt;P&gt;try this search and replace index in data.name=_internal with your index&lt;/P&gt;

&lt;P&gt;index="_introspection" sourcetype="splunk_disk_objects" component=indexes data.name=_internal &lt;/P&gt;

&lt;P&gt;you will find info event count, size, bucket count for all hot/warm, cold, thawed for the index&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:27:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438078#M76392</guid>
      <dc:creator>PowerPacked</dc:creator>
      <dc:date>2020-09-29T20:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to Count warm buckets per indexer per index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438079#M76393</link>
      <description>&lt;P&gt;another option is to use &lt;CODE&gt;| rest /services/data/indexes-extended&lt;/CODE&gt; and &lt;CODE&gt;stats&lt;/CODE&gt; or &lt;CODE&gt;table&lt;/CODE&gt; relevant fields as you desire for more robust reporting&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 12:55:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-Count-warm-buckets-per-indexer-per-index/m-p/438079#M76393</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-07-16T12:55:08Z</dc:date>
    </item>
  </channel>
</rss>

