<?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: File Monitor: Avoid indexing files during the copy process in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306239#M57769</link>
    <description>&lt;P&gt;Hey there are some settings in inputs.conf that you can configure:&lt;BR /&gt;
You can set appropriate integer values accordingly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;pollPeriod = &amp;lt;integer&amp;gt;
* How often, in seconds, to check a directory for changes.
* Defaults to 3600 seconds (1 hour).

interval = &amp;lt;integer&amp;gt;
* How often, in seconds, to poll for new data.
* This setting is required, and the input will not run if the setting is
  not present.
* The recommended setting depends on the Performance Monitor object,
  counter(s) and instance(s) that you define in the input, and how much
  performance data you require.
  * Objects with numerous instantaneous or per-second counters, such
    as "Memory," "Processor" and "PhysicalDisk" should have shorter
    interval times specified (anywhere from 1-3 seconds).
  * Less volatile counters such as "Terminal Services", "Paging File",
    and "Print Queue" can have longer times configured.
* Default is 300 seconds.

readInterval = &amp;lt;integer&amp;gt;
* How often, in milliseconds, that the input should read the network
  kernel driver for events.
* Advanced option. Use the default value unless there is a problem
  with input performance.
* Set this to adjust the frequency of calls into the network kernel driver.
* Choosing lower values (higher frequencies) can reduce network
  performance, while higher numbers (lower frequencies) can cause event
  loss.
* The minimum allowed value is 10 and the maximum allowed value is 1000.
* Defaults to unset, handled as 100 (msec).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2018 10:09:04 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-01-15T10:09:04Z</dc:date>
    <item>
      <title>File Monitor: Avoid indexing files during the copy process</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306238#M57768</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I have a problem with the file monitor. I guess it's not the right way using it, but I don't know any other method for this kind of import.&lt;/P&gt;

&lt;P&gt;CSV-files with a size of 1 up to 20 MBytes are periodically copied into a directory from a remote server, where I have a file monitor on. The Problem is, they are indexed during the copy process as binary events. Can I force Splunk to wait until the copy process ends before it starts the index process.&lt;/P&gt;

&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 09:44:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306238#M57768</guid>
      <dc:creator>BMacher</dc:creator>
      <dc:date>2018-01-15T09:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: File Monitor: Avoid indexing files during the copy process</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306239#M57769</link>
      <description>&lt;P&gt;Hey there are some settings in inputs.conf that you can configure:&lt;BR /&gt;
You can set appropriate integer values accordingly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;pollPeriod = &amp;lt;integer&amp;gt;
* How often, in seconds, to check a directory for changes.
* Defaults to 3600 seconds (1 hour).

interval = &amp;lt;integer&amp;gt;
* How often, in seconds, to poll for new data.
* This setting is required, and the input will not run if the setting is
  not present.
* The recommended setting depends on the Performance Monitor object,
  counter(s) and instance(s) that you define in the input, and how much
  performance data you require.
  * Objects with numerous instantaneous or per-second counters, such
    as "Memory," "Processor" and "PhysicalDisk" should have shorter
    interval times specified (anywhere from 1-3 seconds).
  * Less volatile counters such as "Terminal Services", "Paging File",
    and "Print Queue" can have longer times configured.
* Default is 300 seconds.

readInterval = &amp;lt;integer&amp;gt;
* How often, in milliseconds, that the input should read the network
  kernel driver for events.
* Advanced option. Use the default value unless there is a problem
  with input performance.
* Set this to adjust the frequency of calls into the network kernel driver.
* Choosing lower values (higher frequencies) can reduce network
  performance, while higher numbers (lower frequencies) can cause event
  loss.
* The minimum allowed value is 10 and the maximum allowed value is 1000.
* Defaults to unset, handled as 100 (msec).
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:09:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306239#M57769</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-01-15T10:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: File Monitor: Avoid indexing files during the copy process</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306240#M57770</link>
      <description>&lt;P&gt;Thank you for your reply.  But your answer does not really fit my needs. Even if I set an interval I cannot make sure that no file is in the copy process when the file monitor starts again.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2018 10:25:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306240#M57770</guid>
      <dc:creator>BMacher</dc:creator>
      <dc:date>2018-01-15T10:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: File Monitor: Avoid indexing files during the copy process</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306241#M57771</link>
      <description>&lt;P&gt;I only had to set NO_BINARY_CHECK to false, which was true for some reason.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/File-Monitor-Avoid-indexing-files-during-the-copy-process/m-p/306241#M57771</guid>
      <dc:creator>BMacher</dc:creator>
      <dc:date>2020-09-29T17:55:24Z</dc:date>
    </item>
  </channel>
</rss>

