<?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: Forwarder / Windows / monitor source in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328779#M60998</link>
    <description>&lt;P&gt;it seems the UNC way is working. At least when I share the files from a windows server. Unfortunately, in my usecase we are sharing from an appliance using Samba and with this there are some access denied errors, but this is not a splunk related issue.&lt;/P&gt;

&lt;P&gt;So, the solution: use the UNC path but also make sure the access rights on the share and files set properly, so splunk user can descend into the directories and read the files&lt;/P&gt;

&lt;P&gt;Thank you again&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2017 16:03:27 GMT</pubDate>
    <dc:creator>vladx</dc:creator>
    <dc:date>2017-03-02T16:03:27Z</dc:date>
    <item>
      <title>Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328773#M60992</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have the following very simple usecase&lt;/P&gt;

&lt;P&gt;-- some logs (these are basically linux logs) are available as a share from a windows machine. Share is mapped to drive Z:&lt;BR /&gt;
-- universal forwarder installed on this machine and configured to monitor this directory&lt;/P&gt;

&lt;P&gt;my relevant part of input.conf looks like this&lt;/P&gt;

&lt;P&gt;[monitor://Z:]&lt;BR /&gt;
recursive = true&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;[monitor://Z:\2017\02-09]&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;none of them are working and nothing received in Splunk. When I enable eventlog or perfmon sources, these are succesfully indexed&lt;/P&gt;

&lt;P&gt;Any idea what's wrong?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2017 15:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328773#M60992</guid>
      <dc:creator>vladx</dc:creator>
      <dc:date>2017-03-01T15:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328774#M60993</link>
      <description>&lt;P&gt;As you are talking about a share: Have you made sure, that your splunk user may access this shared folder?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 12:28:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328774#M60993</guid>
      <dc:creator>DMohn</dc:creator>
      <dc:date>2017-03-02T12:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328775#M60994</link>
      <description>&lt;P&gt;I suppose this is where the dog lied buried. When I copied one of the log from the share to the local disk, it is successfully sent to Splunk, however from the share isn't.&lt;/P&gt;

&lt;P&gt;I've changed the user runs splunk forwarder to my domain account and I also made sure the share is accessible using my domain account, but it is still not working. I suppose when I map a drive, it is not visible to forwarder (or any service account), however I can see in the log this&lt;/P&gt;

&lt;P&gt;TailingProcessor - Parsing configuration stanza: monitor://Z:.&lt;/P&gt;

&lt;P&gt;Any idea?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 13:55:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328775#M60994</guid>
      <dc:creator>vladx</dc:creator>
      <dc:date>2017-03-02T13:55:01Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328776#M60995</link>
      <description>&lt;P&gt;Good place to start - &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.2/Troubleshooting/Cantfinddata"&gt;I can't find my data!&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:25:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328776#M60995</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-03-02T14:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328777#M60996</link>
      <description>&lt;P&gt;Are you running splunkd on a Windows machine ? If so maybe the service is running in a different user context to you. Have you tried to use the full UNC name of the folder instant of Z: ?&lt;/P&gt;

&lt;P&gt;You can get this from issuing a NET USE command on a machine that has the relevant Z: drive. It will look something like "\\ServerName\ShareName".&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:31:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328777#M60996</guid>
      <dc:creator>3no</dc:creator>
      <dc:date>2017-03-02T14:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328778#M60997</link>
      <description>&lt;P&gt;it seems the UNC way is working. At least when I share the files from a windows server. Unfortunately, in my usecase we are sharing from an appliance using Samba and with this there are some access denied errors, but this is not a splunk related issue.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;So, the solution: use the UNC path but also make sure the access rights on the share and files set properly, so splunk user can descend into the directories and read the files&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thank you again&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:02:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328778#M60997</guid>
      <dc:creator>vladx</dc:creator>
      <dc:date>2017-03-02T16:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328779#M60998</link>
      <description>&lt;P&gt;it seems the UNC way is working. At least when I share the files from a windows server. Unfortunately, in my usecase we are sharing from an appliance using Samba and with this there are some access denied errors, but this is not a splunk related issue.&lt;/P&gt;

&lt;P&gt;So, the solution: use the UNC path but also make sure the access rights on the share and files set properly, so splunk user can descend into the directories and read the files&lt;/P&gt;

&lt;P&gt;Thank you again&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:03:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328779#M60998</guid>
      <dc:creator>vladx</dc:creator>
      <dc:date>2017-03-02T16:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328780#M60999</link>
      <description>&lt;P&gt;So, the solution: use the UNC path but also make sure the access rights on the share and files set properly, so splunk user can descend into the directories and read the files&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:03:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328780#M60999</guid>
      <dc:creator>vladx</dc:creator>
      <dc:date>2017-03-02T16:03:39Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder / Windows / monitor source</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328781#M61000</link>
      <description>&lt;P&gt;The answer appears to be permissions and is well-described in the comments.&lt;/P&gt;

&lt;P&gt;But I would like to point out another problem: your inputs.conf has overlapping stanzas.&lt;BR /&gt;
Do not do this! The first stanza monitors the entire Z: directory tree. The second stanza is redundant and should be removed. So your inputs.conf should look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://Z:]
recursive = true
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:26:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-Windows-monitor-source/m-p/328781#M61000</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-03-02T16:26:29Z</dc:date>
    </item>
  </channel>
</rss>

