<?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 and why did all events but one get deleted from an index? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-and-why-did-all-events-but-one-get-deleted-from-an-index/m-p/233724#M45554</link>
    <description>&lt;P&gt;After some digging I found the (very simple) answer. That's something like a newbie mistake: The flightdata I imported was from 1987. A while after the indexing was successfull (I suppose) Splunk moved data from Hot to Frozen. Since I didn't have a frozen script the data was simply deleted. The event containing the CSV headers, how ever, got a timestamp from 2015 and wasn't deleted (of course).&lt;/P&gt;

&lt;P&gt;To "fix" that I added: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;frozenTimePeriodInSecs = 4294967294
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to my indexes.conf in the appropriatestanza&lt;/P&gt;</description>
    <pubDate>Mon, 16 Nov 2015 09:30:02 GMT</pubDate>
    <dc:creator>Sebastian2</dc:creator>
    <dc:date>2015-11-16T09:30:02Z</dc:date>
    <item>
      <title>How and why did all events but one get deleted from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-and-why-did-all-events-but-one-get-deleted-from-an-index/m-p/233723#M45553</link>
      <description>&lt;P&gt;Hey folks,&lt;/P&gt;

&lt;P&gt;I'm new to Splunk and I am currently reading the "Big Data Analytics Using Splunk" Book published by apress. However, I imported and indexed some of the csv-flightdata from &lt;A href="http://transtats.bts.gov/"&gt;http://transtats.bts.gov/&lt;/A&gt; to understand what's going on and for testing etc. The indexing process was successful and the events seemed to be correct (I imported one month of data). I tried to get a bigger search working (writing macros in the CLI and restarting Splunk afterwards) and never got any results - until I noticed that all events, but one where gone. The only event left is the CSV headline (with the field names); all other events (the actual flight data) somehow disappeared. I have installed S.o.S. on my test instance but couldn't find any suspicious stuff.&lt;/P&gt;

&lt;P&gt;Do you have any idea why all the data is gone, and why is only the headline left in the index? Of course I could just re-index the data; but I really want to understand what happened.&lt;/P&gt;

&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 14:14:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-and-why-did-all-events-but-one-get-deleted-from-an-index/m-p/233723#M45553</guid>
      <dc:creator>Sebastian2</dc:creator>
      <dc:date>2015-11-12T14:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: How and why did all events but one get deleted from an index?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-and-why-did-all-events-but-one-get-deleted-from-an-index/m-p/233724#M45554</link>
      <description>&lt;P&gt;After some digging I found the (very simple) answer. That's something like a newbie mistake: The flightdata I imported was from 1987. A while after the indexing was successfull (I suppose) Splunk moved data from Hot to Frozen. Since I didn't have a frozen script the data was simply deleted. The event containing the CSV headers, how ever, got a timestamp from 2015 and wasn't deleted (of course).&lt;/P&gt;

&lt;P&gt;To "fix" that I added: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;frozenTimePeriodInSecs = 4294967294
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;to my indexes.conf in the appropriatestanza&lt;/P&gt;</description>
      <pubDate>Mon, 16 Nov 2015 09:30:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-and-why-did-all-events-but-one-get-deleted-from-an-index/m-p/233724#M45554</guid>
      <dc:creator>Sebastian2</dc:creator>
      <dc:date>2015-11-16T09:30:02Z</dc:date>
    </item>
  </channel>
</rss>

