<?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: cannot index a directory anymore in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61842#M12352</link>
    <description>&lt;P&gt;glad I could help and thanks for accepting the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2013 11:51:31 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2013-09-24T11:51:31Z</dc:date>
    <item>
      <title>cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61836#M12346</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I use splunk to index various sources, including files dropped into a directory and indexed to a given index.&lt;BR /&gt;
As of a sudden my files do not get indexed anymore.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;-- UPDATE --&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;The troubleshooting test described below (as INITIAL TROUBLESHOOTING) finally worked. I do not know why it took so much time to index (about an hour, usually indexes in minutes).&lt;/P&gt;

&lt;P&gt;This does not solve the initial problem though: I wanted to reindex data over a certain period. I did a&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=myindex | delete
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;over the period I wanted to reindex (90 days ago to now). This got rid of the data (at least on the search part).&lt;/P&gt;

&lt;P&gt;I reloaded the files in the tracked directory but the data did not reappear. I though that the cause might be that the source filenames are the same. So I renamed them (prefixing with a &lt;CODE&gt;0.&lt;/CODE&gt;). Same thing: the new data does not reappear.&lt;/P&gt;

&lt;P&gt;So the problem now is not that the indexing of files in a directory does not work (good thing) but that I do not know how to force the reindexing on these new files (new = different filename, the contents will still match data indexed previously, but deleted as per above)&lt;/P&gt;

&lt;P&gt;Thanks for the help&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;-- INITIAL TROUBLESHOOTING --&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;(this part now works, please see above)&lt;/P&gt;

&lt;P&gt;In order to investigate I created a brand new index and a brand new directory to host the files I want to drop. I took a few files &lt;STRONG&gt;which used to be indexed correctly&lt;/STRONG&gt;, they are full of lines like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Wed Aug 28 07:25:18 2013 N_hostip="10.103.43.253" N_netbios="UNKNOWN" N_dnsname="UNKNOWN" N_os="Linux Kernel 2.6.18-92cpx86_64 (x86_64)" N_pluginName="SSL Self-Signed Certificate" N_group="SSL" N_pluginID="57582" N_severity="2" N_risk="Medium" N_cvss="6.4" N_patch="UNKNOWN" N_dnt="0" N_subnetname="MHX" N_scanname="RECURRENT-Scheduled-003" N_vendor="ssl" N_product="UNKNOWN"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and dropped them into that directory.&lt;/P&gt;

&lt;P&gt;They are not visible in splunk&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The index in Manager is seen as empty (no events, 1 MB size)&lt;/LI&gt;
&lt;LI&gt;The directory I use, as seen in Manager (Data Inputs) shows 49 files, which is correct&lt;/LI&gt;
&lt;LI&gt;There is ample disk space on the machine&lt;/LI&gt;
&lt;LI&gt;splunk works as it (I can search etc.)&lt;/LI&gt;
&lt;LI&gt;I searched for "All time" -- even though the events are max 90 days old&lt;/LI&gt;
&lt;LI&gt;I even restarted splunk for good measure&lt;/LI&gt;
&lt;LI&gt;The license is OK (50 MB out of 1 GB today, the files are a few MB)&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I would appreciate any help on what to test now to get these data in, before I open a ticket (I hope I missed something obvious bo no idea where)&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 12:48:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61836#M12346</guid>
      <dc:creator>wsw70</dc:creator>
      <dc:date>2013-09-12T12:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61837#M12347</link>
      <description>&lt;P&gt;Hi wsw70,&lt;/P&gt;

&lt;P&gt;so what did changed &lt;CODE&gt;As of a sudden&lt;/CODE&gt;? &lt;BR /&gt;
&lt;BR /&gt;I mean like:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Permission changes?&lt;/LI&gt;
&lt;LI&gt;any Software update?&lt;/LI&gt;
&lt;LI&gt;are you searching the right index?&lt;/LI&gt;
&lt;LI&gt;did you checked index=_internal for any information about your drop directory or any file inside this directory?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;hope this helps to get your started with your troubleshooting.&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 13:40:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61837#M12347</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2013-09-12T13:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61838#M12348</link>
      <description>&lt;P&gt;Thanks for the note -- please see my update as the shifted a bit. To answer your questions: no chnages in permission / software, I am checking the right index (triple checked that :)) and index=_internal does not show anything particular related to this index / files&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 14:21:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61838#M12348</guid>
      <dc:creator>wsw70</dc:creator>
      <dc:date>2013-09-12T14:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61839#M12349</link>
      <description>&lt;P&gt;| delete does not delete events, the events are no longer searchable but are still in the index. Therefore your files get not reindex. You have to clean the fishbucket to reindex the files&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 16:23:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61839#M12349</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2013-09-12T16:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61840#M12350</link>
      <description>&lt;P&gt;Take a look here about the fishbucket &lt;A href="http://answers.splunk.com/answers/97996/searching-_fishbucket"&gt;http://answers.splunk.com/answers/97996/searching-_fishbucket&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2013 16:28:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61840#M12350</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2013-09-12T16:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61841#M12351</link>
      <description>&lt;P&gt;The fishbucket comment looks like the true solution (I diod not know about the real effects of the "delete" function).&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 10:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61841#M12351</guid>
      <dc:creator>wsw70</dc:creator>
      <dc:date>2013-09-24T10:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: cannot index a directory anymore</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61842#M12352</link>
      <description>&lt;P&gt;glad I could help and thanks for accepting the answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 11:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/cannot-index-a-directory-anymore/m-p/61842#M12352</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2013-09-24T11:51:31Z</dc:date>
    </item>
  </channel>
</rss>

