<?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: Question on Indexed data getting deleted in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88205#M18307</link>
    <description>&lt;P&gt;Also, have you made any modifications to indexes.conf or user roles?&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2012 09:18:26 GMT</pubDate>
    <dc:creator>Drainy</dc:creator>
    <dc:date>2012-10-12T09:18:26Z</dc:date>
    <item>
      <title>Question on Indexed data getting deleted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88201#M18303</link>
      <description>&lt;P&gt;Hello Guys,&lt;/P&gt;

&lt;P&gt;I have these very huge problem of indexed data getting deleted. Basically i am doing following steps.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;I edit /etc/system/local/inputs.conf with following monitor stanza. Basically indexing multiple files under directory mydata with custom sourcetype.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///mydata/month_data_20*.csv]
disabled = false
followTail = 0
sourcetype = data_performance
crcSalt = SOURCE
&lt;/CODE&gt;&lt;/PRE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;I start the server /opt/splunk/bin/splunk start&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;I see data getting indexed on splunk web. all files are indexed correctly and to their max size. I also see indexed event counts under manager -&amp;gt; indexes -&amp;gt; main = total event count (405,897 around).&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Now I logout from splunk web and stop the splunk instance. /opt/splunk/bin/splunk stop&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;I do nothing after stopping but simply start the splunk instance again with /opt/splunk/bin/splunk start&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;I still see same count of indexed event on dashboard live. Now I again go to manager - &amp;gt; indexes - &amp;gt; main . count is same (405,897). But now as I now again open dashboard live i see indexed events  to 1 only. And under total events counts in main I see 1 now instead of total indexed events (405,897).&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I dont understand what is the problem here. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; is it with stanza that I include under inputs.conf ??? &lt;/P&gt;

&lt;P&gt;Please help me out guys I am running out of time to complete these.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 07:32:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88201#M18303</guid>
      <dc:creator>mehal</dc:creator>
      <dc:date>2012-10-12T07:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Indexed data getting deleted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88202#M18304</link>
      <description>&lt;P&gt;Hi mehal&lt;/P&gt;

&lt;P&gt;have you searched for your indexed data?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=main sourcetype=data_performance 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;btw: you should be careful with using the crcSalt option, this can end in double indexing data. Only use it if you have for example 'file too small' messages.&lt;/P&gt;

&lt;P&gt;cheers,&lt;BR /&gt;
MuS&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 07:45:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88202#M18304</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-10-12T07:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Indexed data getting deleted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88203#M18305</link>
      <description>&lt;P&gt;Yes i tried these way but no luck. It shows 1 event count under indexes page. Splunk does not retain indexes when it is stopped ??&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 07:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88203#M18305</guid>
      <dc:creator>mehal</dc:creator>
      <dc:date>2012-10-12T07:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Indexed data getting deleted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88204#M18306</link>
      <description>&lt;P&gt;for sure it does &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; run this please:&lt;/P&gt;

&lt;P&gt;| rest /services/data/indexes | where totalEventCount &amp;gt; 0 | table title totalEventCount&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 08:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88204#M18306</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2012-10-12T08:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Indexed data getting deleted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88205#M18307</link>
      <description>&lt;P&gt;Also, have you made any modifications to indexes.conf or user roles?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 09:18:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88205#M18307</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-10-12T09:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question on Indexed data getting deleted</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88206#M18308</link>
      <description>&lt;P&gt;not to indexes.conf but i have added can delete role in admin.. Also my data is of 1987. so timestamp is of 1987 when indexed.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2012 18:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Question-on-Indexed-data-getting-deleted/m-p/88206#M18308</guid>
      <dc:creator>mehal</dc:creator>
      <dc:date>2012-10-12T18:42:35Z</dc:date>
    </item>
  </channel>
</rss>

