<?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: Simple example of inputs.conf to monitor a logfile on a remote share in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77290#M15830</link>
    <description>&lt;P&gt;sorry ... I have 2 ... the forum software removed one of them  ... I'll adjust,&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2011 18:29:54 GMT</pubDate>
    <dc:creator>skaboy71</dc:creator>
    <dc:date>2011-09-16T18:29:54Z</dc:date>
    <item>
      <title>Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77287#M15827</link>
      <description>&lt;P&gt;I'v been looking for this but not finding it.&lt;/P&gt;

&lt;P&gt;I have this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://\\CAD1100092\\shared$\testing.log]
disabled = false 
followTail = 0 
host = CAD1100092
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'm running splunk as a user which has access to this UNC path:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;\\cad1100092\\shared$\\testing.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want splunk to index it, and I want do this through the inputs.conf file.&lt;/P&gt;

&lt;P&gt;I'm using the one in  $splunkhome\ect\system\local .&lt;/P&gt;

&lt;P&gt;Is this the correct way?  Is my syntax correct?&lt;/P&gt;

&lt;P&gt;Thanks&lt;BR /&gt;
Aaron &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 17:29:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77287#M15827</guid>
      <dc:creator>skaboy71</dc:creator>
      <dc:date>2011-09-16T17:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77288#M15828</link>
      <description>&lt;P&gt;OK changed it to &lt;/P&gt;

&lt;P&gt;[monitor://\\CAD1100092\shared$\testing.log]&lt;/P&gt;

&lt;P&gt;disabled = false&lt;/P&gt;

&lt;P&gt;host = CAD1100092&lt;/P&gt;

&lt;P&gt;Its still not indexing&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 17:44:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77288#M15828</guid>
      <dc:creator>skaboy71</dc:creator>
      <dc:date>2011-09-16T17:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77289#M15829</link>
      <description>&lt;P&gt;It seems like in your examples of your inputs.conf file you only have one '\' and you are trying to index a remote log file via UNC. You need two '\' &lt;/P&gt;

&lt;P&gt;[monitor://****CAD1100092\shared$\testing.log]  &amp;lt;---- add a second '\' as its a UNC&lt;BR /&gt;
disabled = false&lt;BR /&gt;
host = CAD1100092&lt;BR /&gt;
Its still not indexing&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77289#M15829</guid>
      <dc:creator>kdenton</dc:creator>
      <dc:date>2020-09-28T09:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77290#M15830</link>
      <description>&lt;P&gt;sorry ... I have 2 ... the forum software removed one of them  ... I'll adjust,&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 18:29:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77290#M15830</guid>
      <dc:creator>skaboy71</dc:creator>
      <dc:date>2011-09-16T18:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77291#M15831</link>
      <description>&lt;P&gt;What user is the Splunkd process running as?  If it's running as Local System, it won't have access to the remote share.  &lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 18:50:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77291#M15831</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2011-09-16T18:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77292#M15832</link>
      <description>&lt;P&gt;I understand that issue.  I'm running splunk as a domain user that has access to this location.  I already have remote file monitors working which I configured via the gui.  I am attempting to learn how to use the inputs.conf instead.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 20:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77292#M15832</guid>
      <dc:creator>skaboy71</dc:creator>
      <dc:date>2011-09-16T20:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77293#M15833</link>
      <description>&lt;P&gt;Ah, I suspect it might be a problem with the &lt;CODE&gt;$&lt;/CODE&gt; in the path. If you can get it working in the GUI, take a look at the generated inputs.conf file (should be in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/local&lt;/CODE&gt;, or a correspondin place depending on the app you were in when you created it). Another way to debug will be to look at &lt;A href="http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/"&gt;http://blogs.splunk.com/2011/01/02/did-i-miss-christmas-2/&lt;/A&gt; and query the file monitor to see what it thinks it's doing.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2011 00:01:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77293#M15833</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-09-17T00:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77294#M15834</link>
      <description>&lt;P&gt;I edited your orignal question to fix it.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2011 00:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77294#M15834</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2011-09-17T00:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Simple example of inputs.conf to monitor a logfile on a remote share</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77295#M15835</link>
      <description>&lt;P&gt;This discussion greatly helped me with forwarding remote logs. Thanks guys.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:42:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Simple-example-of-inputs-conf-to-monitor-a-logfile-on-a-remote/m-p/77295#M15835</guid>
      <dc:creator>meenuvn</dc:creator>
      <dc:date>2016-06-07T14:42:56Z</dc:date>
    </item>
  </channel>
</rss>

