<?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 to process a file only once? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251898#M10154</link>
    <description>&lt;P&gt;I suppose you could ingest it and then remove the monitor for it.&lt;/P&gt;

&lt;P&gt;(Out of curiosity, what kind of file is it?)&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2016 17:00:05 GMT</pubDate>
    <dc:creator>lycollicott</dc:creator>
    <dc:date>2016-08-26T17:00:05Z</dc:date>
    <item>
      <title>How to process a file only once?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251897#M10153</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to read a file only once, after initial splunk install, and then, never again (but the file will continue to get updated).  Is there any way to do this?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:55:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251897#M10153</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-08-26T16:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to process a file only once?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251898#M10154</link>
      <description>&lt;P&gt;I suppose you could ingest it and then remove the monitor for it.&lt;/P&gt;

&lt;P&gt;(Out of curiosity, what kind of file is it?)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 17:00:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251898#M10154</guid>
      <dc:creator>lycollicott</dc:creator>
      <dc:date>2016-08-26T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to process a file only once?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251899#M10155</link>
      <description>&lt;P&gt;Agreed. You could just upload it through the UI or do a oneshot. The batch stanza is also an option but it's destructive. So, we really need to better understand the context to get more creative.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 17:08:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251899#M10155</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-08-26T17:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to process a file only once?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251900#M10156</link>
      <description>&lt;P&gt;Please check - inputs.conf has a parameter - ignoreOlderThan.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;ignoreOlderThan = [s|m|h|d]&lt;BR /&gt;
* Causes the monitored input to stop checking files for updates if their&lt;BR /&gt;
  modtime has passed this threshold.  This improves the speed of file tracking&lt;BR /&gt;
  operations when monitoring directory hierarchies with large numbers of&lt;BR /&gt;
  historical files (for example, when active log files are colocated with old&lt;BR /&gt;
  files that are no longer being written to).&lt;BR /&gt;
  * As a result, do not select a cutoff that could ever occur for a file&lt;BR /&gt;
    you wish to index.  Take downtime into account!&lt;BR /&gt;
    Suggested value: 14d , which means 2 weeks&lt;BR /&gt;
* A file whose modtime falls outside this time window when seen for the first&lt;BR /&gt;
  time will not be indexed at all.&lt;BR /&gt;
* Default: 0, meaning no threshold.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 17:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251900#M10156</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-08-26T17:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to process a file only once?</title>
      <link>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251901#M10157</link>
      <description>&lt;P&gt;It's part of the chef recipe.  I want to track the installation process.  I can't delete or control the logfile in anyway - the logging from chef automatically goes there.  After the initial call for the splunk forwarder via  a recipe, I'm not interested in the output.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 17:17:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/How-to-process-a-file-only-once/m-p/251901#M10157</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2016-08-26T17:17:44Z</dc:date>
    </item>
  </channel>
</rss>

