<?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 view Splunk data retention without access to indexes.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202263#M40028</link>
    <description>&lt;P&gt;Thanks! this with a dedup on title helped me!&lt;/P&gt;</description>
    <pubDate>Thu, 09 Jun 2016 18:56:50 GMT</pubDate>
    <dc:creator>wzgoda</dc:creator>
    <dc:date>2016-06-09T18:56:50Z</dc:date>
    <item>
      <title>How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202259#M40024</link>
      <description>&lt;P&gt;Hello-&lt;/P&gt;

&lt;P&gt;I am auditing a company and am trying to determine the retention time for Splunk logs. I have been reading that you need access to the indexes.conf file, but I am unable to access it. Is there a command or somewhere else I can look in order to figure out the retention period?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:21:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202259#M40024</guid>
      <dc:creator>wzgoda</dc:creator>
      <dc:date>2016-06-09T18:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202260#M40025</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  |dbinspect | convert ctime(endEpoch) | convert ctime(startEpoch) | table index, endEpoch, startEpoch, rawSize, sizeOnDiskMB, eventCount
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202260#M40025</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2016-06-09T18:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202261#M40026</link>
      <description>&lt;P&gt;You can use the rest api from a splunk search:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| rest /services/data/indexes&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This should give you all of the configuration info you need.  &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.1/RESTREF/RESTintrospect#data.2Findexes"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.1/RESTREF/RESTintrospect#data.2Findexes&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202261#M40026</guid>
      <dc:creator>justinatpnnl</dc:creator>
      <dc:date>2016-06-09T18:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202262#M40027</link>
      <description>&lt;P&gt;The Distribution Management Console also shows information about Data Retention if you are on 6.4.x.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202262#M40027</guid>
      <dc:creator>christian_clout</dc:creator>
      <dc:date>2016-06-09T18:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202263#M40028</link>
      <description>&lt;P&gt;Thanks! this with a dedup on title helped me!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 18:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202263#M40028</guid>
      <dc:creator>wzgoda</dc:creator>
      <dc:date>2016-06-09T18:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202264#M40029</link>
      <description>&lt;P&gt;You can run this report which was published at &lt;A href="https://answers.splunk.com/answers/118890/bucket-retention-and-frozentimeperiodinsecs.html"&gt;bucket retention and frozenTimePeriodInSecs&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The query is -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbinspect index=* | join index [|rest /services/data/indexes| eval index=title | table index frozenTimePeriodInSecs ] | eval toNow=now()-endEpoch | convert num(toNow) | convert num(frozenTimePeriodInSecs) | convert ctime(endEpoch) AS endEvent | convert ctime(startEpoch) AS startEvent | eval shouldBeFrozen=if( ( state!="hot" AND state!="thawed" ) AND toNow&amp;gt;frozenTimePeriodInSecs,"yes","no") | table index path id state startEvent endEvent shouldBeFrozen toNow frozenTimePeriodInSecs
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Jun 2016 19:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202264#M40029</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-06-09T19:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202265#M40030</link>
      <description>&lt;P&gt;Hi @wzgoda&lt;/P&gt;

&lt;P&gt;Glad you found your answer through @justinatpnnl&lt;BR /&gt;
I see you upvoted his answer, but please don't forget to actually resolve the post by clicking "Accept" directly below his answer.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 17:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/202265#M40030</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2016-06-10T17:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to view Splunk data retention without access to indexes.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/549516#M91283</link>
      <description>&lt;P&gt;Where in Monitoring console do I find this info. please?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 19:33:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-view-Splunk-data-retention-without-access-to-indexes-conf/m-p/549516#M91283</guid>
      <dc:creator>SamHTexas</dc:creator>
      <dc:date>2021-04-27T19:33:43Z</dc:date>
    </item>
  </channel>
</rss>

