<?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 search more than 1 year data in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503249#M195285</link>
    <description>&lt;P&gt;Hello Sandeep, &lt;/P&gt;

&lt;P&gt;Thanks for the answer .&lt;/P&gt;

&lt;P&gt;I think i do not have rights to run the above commands.&lt;/P&gt;

&lt;P&gt;I am getting empty columns for frozenTimePeriodInSecs and Days&lt;/P&gt;

&lt;P&gt;i am able to see only index names. &lt;/P&gt;

&lt;P&gt;Is possible to check what is the starting time the data available?&lt;/P&gt;</description>
    <pubDate>Mon, 21 Oct 2019 22:42:45 GMT</pubDate>
    <dc:creator>brpsingara</dc:creator>
    <dc:date>2019-10-21T22:42:45Z</dc:date>
    <item>
      <title>How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503245#M195281</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I want to search more than one year data for particular machine. &lt;/P&gt;

&lt;P&gt;How to check is possible to get more than one year data? &lt;/P&gt;

&lt;P&gt;Could you please help me. &lt;/P&gt;

&lt;P&gt;Thanks in advance.  &lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 20:45:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503245#M195281</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-10-21T20:45:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503246#M195282</link>
      <description>&lt;P&gt;on the splunk time picker you have the option to select the time frame.&lt;BR /&gt;
you can select date range on the time picker or Data time range &lt;BR /&gt;
Select All time, please be carefully because it will run a search to all data for that particular host.&lt;BR /&gt;
other point to consider is about the retention  data, so you have to make sure the data is being stored for more than 1h for the particular host&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 21:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503246#M195282</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-10-21T21:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503247#M195283</link>
      <description>&lt;P&gt;Hello Ivanreis, &lt;/P&gt;

&lt;P&gt;Thanks for the reply. &lt;/P&gt;

&lt;P&gt;I tried with time picker. I selected August 1, 2018 to September 30, 2018. But nothing is showing in the result. &lt;/P&gt;

&lt;P&gt;I did search only with Host name of machine "DSS-Patch-DC01"&lt;/P&gt;

&lt;P&gt;And also i tried with all indexes. &lt;/P&gt;

&lt;P&gt;If possible please tell me how to check the age of data which is stored in splunk.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 22:08:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503247#M195283</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-10-21T22:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503248#M195284</link>
      <description>&lt;P&gt;You have to know the retention policy of your index 1st, I don't think you can do that through UI.&lt;BR /&gt;
You can run this query to get the retention policy in days&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/data/indexes 
 | rename title as index | dedup index | sort index
 | streamstats count as Row
 | eval Days=frozenTimePeriodInSecs/86400
 | fields Row index frozenTimePeriodInSecs Days
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this info is not good enough, you can ask your Splunk team for more information on the retention policy, with that being answered one more question would be can we query that frozen data the answer is Yes.&lt;BR /&gt;
here is the link you can refer to &lt;A href="https://wiki.splunk.com/Community:UnderstandingBuckets"&gt;https://wiki.splunk.com/Community:UnderstandingBuckets&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks! hope this helps. &lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 22:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503248#M195284</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-10-21T22:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503249#M195285</link>
      <description>&lt;P&gt;Hello Sandeep, &lt;/P&gt;

&lt;P&gt;Thanks for the answer .&lt;/P&gt;

&lt;P&gt;I think i do not have rights to run the above commands.&lt;/P&gt;

&lt;P&gt;I am getting empty columns for frozenTimePeriodInSecs and Days&lt;/P&gt;

&lt;P&gt;i am able to see only index names. &lt;/P&gt;

&lt;P&gt;Is possible to check what is the starting time the data available?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 22:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503249#M195285</guid>
      <dc:creator>brpsingara</dc:creator>
      <dc:date>2019-10-21T22:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503250#M195286</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| metadata index=YourIndexName type=hosts 
| stats max(lastTime) as lastTime, min(firstTime) as firstTime 
| convert ctime(firstTime), ctime(lastTime)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should do it! &lt;/P&gt;

&lt;P&gt;If it helped can you accept the answer, please. &lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 02:11:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503250#M195286</guid>
      <dc:creator>sandeepmakkena</dc:creator>
      <dc:date>2019-10-22T02:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to search more than 1 year data</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503251#M195287</link>
      <description>&lt;P&gt;the age of data is defined as the retention police. &lt;BR /&gt;
Check this additional link where you can have more information about it&lt;BR /&gt;
-&amp;gt; &lt;A href="https://answers.splunk.com/answers/553180/how-to-find-the-retention-period-of-an-index.html"&gt;https://answers.splunk.com/answers/553180/how-to-find-the-retention-period-of-an-index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 23:48:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-search-more-than-1-year-data/m-p/503251#M195287</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-10-22T23:48:44Z</dc:date>
    </item>
  </channel>
</rss>

