<?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 does a Splunk forwarder read a file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249907#M48078</link>
    <description>&lt;P&gt;How Splunk Enteprise monitors nonwritable Windows files&lt;BR /&gt;
Windows can prevent Splunk from reading open files. If you need to read files while they are being written to, you can use the monitorNoHandle input.&lt;/P&gt;

&lt;P&gt;Why use MonitorNoHandle?&lt;BR /&gt;
This Windows-only input lets you read files on Windows systems as Windows writes to them. It does this by using a kernel-mode filter driver to capture raw data as it gets written to the file. Use this input stanza on files which get locked open for writing. You can use this input stanza on a file which the system locks open for writing, such as the Windows DNS server log file.&lt;/P&gt;

&lt;P&gt;Note: MonitorNoHandle only works on Windows Vista or Windows Server 2008 and later operating systems. You can only monitor single files with MonitorNoHandle. You can not monitor directories. If a file you choose to monitor already exists, Splunk does not index its current contents, only new information that comes into the file as it gets written to.&lt;/P&gt;

&lt;P&gt;from - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/Monitorfilesanddirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jul 2016 15:57:41 GMT</pubDate>
    <dc:creator>inventsekar</dc:creator>
    <dc:date>2016-07-09T15:57:41Z</dc:date>
    <item>
      <title>How does a Splunk forwarder read a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249903#M48074</link>
      <description>&lt;P&gt;We are constantly writing to a file and cannot have the file open as it's being written to.&lt;/P&gt;

&lt;P&gt;What permissions does a Splunk forwarder need to forward data? &lt;/P&gt;

&lt;P&gt;Does a Splunk forwarder "open" the file to read its contents? &lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 14:55:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249903#M48074</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-07-08T14:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: How does a Splunk forwarder read a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249904#M48075</link>
      <description>&lt;P&gt;On Linux, it needs the read permission. The following explains it - &lt;A href="https://answers.splunk.com/answers/25980/permissions-on-var-log.html"&gt;Permissions on /var/log&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 14:57:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249904#M48075</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2016-07-08T14:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: How does a Splunk forwarder read a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249905#M48076</link>
      <description>&lt;P&gt;What about a Windows server?&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 19:02:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249905#M48076</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-07-08T19:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How does a Splunk forwarder read a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249906#M48077</link>
      <description>&lt;P&gt;Same. Read permission&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jul 2016 21:01:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249906#M48077</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-07-08T21:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: How does a Splunk forwarder read a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249907#M48078</link>
      <description>&lt;P&gt;How Splunk Enteprise monitors nonwritable Windows files&lt;BR /&gt;
Windows can prevent Splunk from reading open files. If you need to read files while they are being written to, you can use the monitorNoHandle input.&lt;/P&gt;

&lt;P&gt;Why use MonitorNoHandle?&lt;BR /&gt;
This Windows-only input lets you read files on Windows systems as Windows writes to them. It does this by using a kernel-mode filter driver to capture raw data as it gets written to the file. Use this input stanza on files which get locked open for writing. You can use this input stanza on a file which the system locks open for writing, such as the Windows DNS server log file.&lt;/P&gt;

&lt;P&gt;Note: MonitorNoHandle only works on Windows Vista or Windows Server 2008 and later operating systems. You can only monitor single files with MonitorNoHandle. You can not monitor directories. If a file you choose to monitor already exists, Splunk does not index its current contents, only new information that comes into the file as it gets written to.&lt;/P&gt;

&lt;P&gt;from - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/Monitorfilesanddirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.4.2/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2016 15:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-does-a-Splunk-forwarder-read-a-file/m-p/249907#M48078</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2016-07-09T15:57:41Z</dc:date>
    </item>
  </channel>
</rss>

