<?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 Get list of active indexes that are ingesting logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667507#M111936</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a splunk instance where we have configured security related logs. There are hundreds of indexes created on the instance and now we are planning to disable indexes that are no longer active.&lt;/P&gt;&lt;P&gt;These security logs are now either going to Azure or they are no longer needed so they were stopped by the stakeholders. I am looking for a query that can give me the list of indexes with the most recent event timestamp in respective indexes.&lt;/P&gt;&lt;P&gt;with this details plan is to look for the indexes that have event older than 1 month and consider them as migrated/no longer needed.&lt;/P&gt;</description>
    <pubDate>Mon, 06 Nov 2023 12:08:24 GMT</pubDate>
    <dc:creator>koyachi</dc:creator>
    <dc:date>2023-11-06T12:08:24Z</dc:date>
    <item>
      <title>Get list of active indexes that are ingesting logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667507#M111936</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We have a splunk instance where we have configured security related logs. There are hundreds of indexes created on the instance and now we are planning to disable indexes that are no longer active.&lt;/P&gt;&lt;P&gt;These security logs are now either going to Azure or they are no longer needed so they were stopped by the stakeholders. I am looking for a query that can give me the list of indexes with the most recent event timestamp in respective indexes.&lt;/P&gt;&lt;P&gt;with this details plan is to look for the indexes that have event older than 1 month and consider them as migrated/no longer needed.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 12:08:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667507#M111936</guid>
      <dc:creator>koyachi</dc:creator>
      <dc:date>2023-11-06T12:08:24Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of active indexes that are ingesting logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667509#M111937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246651"&gt;@koyachi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you could run something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count latest(_time) AS latest WHERE index=* BY index
| eval latest=strftime(latest,"%Y-%m-%d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 12:23:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667509#M111937</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-11-06T12:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of active indexes that are ingesting logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667510#M111938</link>
      <description>&lt;LI-CODE lang="markup"&gt;| metasearch index=*
| stats latest(_time) as _time by index&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 06 Nov 2023 12:26:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667510#M111938</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-11-06T12:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of active indexes that are ingesting logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667512#M111939</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;. This gives me the info what i need.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 12:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667512#M111939</guid>
      <dc:creator>koyachi</dc:creator>
      <dc:date>2023-11-06T12:31:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get list of active indexes that are ingesting logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667513#M111940</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246651"&gt;@koyachi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Nov 2023 12:37:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Get-list-of-active-indexes-that-are-ingesting-logs/m-p/667513#M111940</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-11-06T12:37:29Z</dc:date>
    </item>
  </channel>
</rss>

