<?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: not indexing after cleaning eventdata in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32972#M5876</link>
    <description>&lt;P&gt;Did you clean all indexes or just a single one with &lt;CODE&gt;splunk clean eventdata&lt;/CODE&gt;? If you cleared all, splunk should have removed the contents of &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db/&lt;/CODE&gt; which contains the position in files being read. If you just cleaned a single index, that would not have been cleared and we will continue reading from the end of the files.&lt;/P&gt;

&lt;P&gt;This shouldn't have anything to do with the crcSalt.&lt;/P&gt;</description>
    <pubDate>Thu, 19 Aug 2010 00:03:44 GMT</pubDate>
    <dc:creator>Stephen_Sorkin</dc:creator>
    <dc:date>2010-08-19T00:03:44Z</dc:date>
    <item>
      <title>not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32971#M5875</link>
      <description>&lt;P&gt;So i created an app folder... and indexes.conf .. and an inputs.conf to monitor a directory.&lt;/P&gt;

&lt;P&gt;I then restarted splunk via CLI  and everything was perfect. Lots of data being indexed immediately.&lt;/P&gt;

&lt;P&gt;I realized my sourcetype was wrong, so i... &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;stopped splunk&lt;/LI&gt;
&lt;LI&gt;made my change to the inputs.conf file for the name of the sourcetype i wanted&lt;/LI&gt;
&lt;LI&gt;did a splunk clean eventdata &lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;started splunk&lt;/P&gt;

&lt;P&gt;[monitor:///data/splunk/mydata/]
index = mydata
sourcetype = mysourcetype
crcSalt = 
disabled = false&lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;i have 0 events, and can't seem to populated the index again.&lt;/P&gt;

&lt;P&gt;does this have to do with the "crcsalt = " line i have in my inputs.conf?&lt;/P&gt;

&lt;P&gt;i have even, created a new different index ... still no go.&lt;/P&gt;

&lt;P&gt;thoughts?&lt;/P&gt;</description>
      <pubDate>Wed, 18 Aug 2010 23:55:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32971#M5875</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-08-18T23:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32972#M5876</link>
      <description>&lt;P&gt;Did you clean all indexes or just a single one with &lt;CODE&gt;splunk clean eventdata&lt;/CODE&gt;? If you cleared all, splunk should have removed the contents of &lt;CODE&gt;$SPLUNK_HOME/var/lib/splunk/fishbucket/splunk_private_db/&lt;/CODE&gt; which contains the position in files being read. If you just cleaned a single index, that would not have been cleared and we will continue reading from the end of the files.&lt;/P&gt;

&lt;P&gt;This shouldn't have anything to do with the crcSalt.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 00:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32972#M5876</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-19T00:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32973#M5877</link>
      <description>&lt;P&gt;well i don't want to clean them all.  How does one clean one index and remove those entries from "fishbucket"?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 00:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32973#M5877</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-08-19T00:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32974#M5878</link>
      <description>&lt;P&gt;That's trickier and unfortunately we don't have a published tool to modify our database of seek pointers. You can convince Splunk to reindex these files by adding them from the CLI using one-shot input that doesn't check the db. For each file you should run: splunk add oneshot /data/splunk/mydata/&lt;FILE&gt; -index mydata -sourcetype mysourcetype.&lt;/FILE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 00:19:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32974#M5878</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-19T00:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32975#M5879</link>
      <description>&lt;P&gt;This command does not work with gzips?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 01:01:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32975#M5879</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-08-19T01:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32976#M5880</link>
      <description>&lt;P&gt;Should work fine with gzips, tars and zips. It doesn't work for directories.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 01:11:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32976#M5880</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-19T01:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32977#M5881</link>
      <description>&lt;P&gt;Also to confirm if i do ~/bin/splunk clean eventdata     without naming an index it will clean them all .. including the fishbucket pointers?  or do i need to clean "globaldata" or "all"   to get that accomplished?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 01:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32977#M5881</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-08-19T01:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32978#M5882</link>
      <description>&lt;P&gt;i get "In handler 'oneshotinput': invalid file: path='/data/splunk/mydata/txt123.gz' error='Not a regular file'"&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 01:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32978#M5882</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-08-19T01:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32979#M5883</link>
      <description>&lt;P&gt;Yes, clean eventtdata without an index specified cleans all indexes, including the fishbucket pointers.&lt;/P&gt;

&lt;P&gt;As for the "Not a regular file" error, that's unrelated to the gzipped nature, it means that the file doesn't show up to "fstat" as a regular file. Could you run "ls -l" on that file?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 03:02:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32979#M5883</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-08-19T03:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32980#M5884</link>
      <description>&lt;P&gt;Maybe try and re-add the monitor?  Remove the monitored directory and then re-add it.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 04:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32980#M5884</guid>
      <dc:creator>BunnyHop</dc:creator>
      <dc:date>2010-08-19T04:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32981#M5885</link>
      <description>&lt;P&gt;ahhah!  apologies... and thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Aug 2010 20:22:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32981#M5885</guid>
      <dc:creator>hiddenkirby</dc:creator>
      <dc:date>2010-08-19T20:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: not indexing after cleaning eventdata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32982#M5886</link>
      <description>&lt;P&gt;I've had this problem when clearing eventdata - even if i included 'all' - I simply put crcSalt = mysourcetype in the inputs.conf and it fixed the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jul 2011 12:05:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/not-indexing-after-cleaning-eventdata/m-p/32982#M5886</guid>
      <dc:creator>Wushu</dc:creator>
      <dc:date>2011-07-28T12:05:38Z</dc:date>
    </item>
  </channel>
</rss>

