<?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 Indexes used within the last 30 day in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674698#M230951</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am looking for a search to list out all of the indexes in Splunk. I know how to get the full but looking for a clear way to get a list of the ones being used and actively received data within the last 30 days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Jan 2024 16:32:44 GMT</pubDate>
    <dc:creator>Strangertinz</dc:creator>
    <dc:date>2024-01-18T16:32:44Z</dc:date>
    <item>
      <title>Indexes used within the last 30 day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674698#M230951</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I am looking for a search to list out all of the indexes in Splunk. I know how to get the full but looking for a clear way to get a list of the ones being used and actively received data within the last 30 days.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 16:32:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674698#M230951</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2024-01-18T16:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Indexes used within the last 30 day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674701#M230953</link>
      <description>&lt;P&gt;Probably a few ways of doing this, but if you have access to index=_internal you can try something like this.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal component=Metrics group=per_index_thruput earliest=-30d@d latest=now
    | bucket span=1h _time
    | stats
        sum(kb) as hourly_kb,
        sum(ev) as hourly_events,
            by _time, series
    | stats
        earliest(_time) as earliest_event,
        latest(_time) as latest_event,
        count as sample_size,
        avg(hourly_kb) as avg_hourly_kb,
        sum(hourly_kb) as total_kb,
        avg(hourly_events) as avg_hourly_events,
        sum(hourly_events) as total_events
            by series
    | convert
        ctime(earliest_event),
        ctime(latest_event)
    | rename
        series as index&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 Jan 2024 16:53:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674701#M230953</guid>
      <dc:creator>dtburrows3</dc:creator>
      <dc:date>2024-01-18T16:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Indexes used within the last 30 day</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674707#M230956</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you could run a simple search like the following:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count WHERE index=* BY index&lt;/LI-CODE&gt;&lt;P&gt;on the last 30 days.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 18 Jan 2024 17:09:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Indexes-used-within-the-last-30-day/m-p/674707#M230956</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-01-18T17:09:59Z</dc:date>
    </item>
  </channel>
</rss>

