<?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 Moving away indexed files after indexing in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60666#M12058</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I index files in a directory. The files are normally created for the sake of being indexed and do not change after indexing (in other words, they are not updated - once created they are frozen).&lt;/P&gt;

&lt;P&gt;I noticed that they are sometimes reindexed (not sure why but I can wildly guess they were "touch"-ed (linux speaking) or otherwise modified (their attributes, not content), which triggered a reindexation).&lt;/P&gt;

&lt;P&gt;Is there a way to instruct splunk to move then to another predefined directory  after they have been indexed? &lt;BR /&gt;
Alternatively: make it so that splunk would index them only once, no matter the changes (I know that this is possible for a single file but apparently not for a monitored directory)&lt;/P&gt;

&lt;P&gt;The first solution (move them away) would be ideal.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2012 08:12:33 GMT</pubDate>
    <dc:creator>wsw70</dc:creator>
    <dc:date>2012-12-12T08:12:33Z</dc:date>
    <item>
      <title>Moving away indexed files after indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60666#M12058</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I index files in a directory. The files are normally created for the sake of being indexed and do not change after indexing (in other words, they are not updated - once created they are frozen).&lt;/P&gt;

&lt;P&gt;I noticed that they are sometimes reindexed (not sure why but I can wildly guess they were "touch"-ed (linux speaking) or otherwise modified (their attributes, not content), which triggered a reindexation).&lt;/P&gt;

&lt;P&gt;Is there a way to instruct splunk to move then to another predefined directory  after they have been indexed? &lt;BR /&gt;
Alternatively: make it so that splunk would index them only once, no matter the changes (I know that this is possible for a single file but apparently not for a monitored directory)&lt;/P&gt;

&lt;P&gt;The first solution (move them away) would be ideal.&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 08:12:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60666#M12058</guid>
      <dc:creator>wsw70</dc:creator>
      <dc:date>2012-12-12T08:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: Moving away indexed files after indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60667#M12059</link>
      <description>&lt;P&gt;Splunk has no mechanisms for performing file-system operations like that (other than reading files, of course).&lt;/P&gt;

&lt;P&gt;You should check splunkd.log to see what causes Splunk to reindex files. Even if files are touched, Splunk should not reindex them because it keeps a CRC checksum and read offset to see if a file really has changed and if so where it should start reading.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 08:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60667#M12059</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2012-12-12T08:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Moving away indexed files after indexing</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60668#M12060</link>
      <description>&lt;P&gt;Thanks. I will have a closer look at splunkd.log as there are interesting messages there anyway (never had a look before)&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2012 09:32:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Moving-away-indexed-files-after-indexing/m-p/60668#M12060</guid>
      <dc:creator>wsw70</dc:creator>
      <dc:date>2012-12-12T09:32:03Z</dc:date>
    </item>
  </channel>
</rss>

