<?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: Monitor different sourcetype in sub-directories in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60453#M11989</link>
    <description>&lt;P&gt;Set the monitor specific to the file in your inputs.conf :  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://\\Server\share\*.log]
sourcetype = FirstLog

[monitor://\\Server\Share\Directory\*.csv]
sourcetype = SecondLog
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 12 Jun 2013 18:21:58 GMT</pubDate>
    <dc:creator>JSapienza</dc:creator>
    <dc:date>2013-06-12T18:21:58Z</dc:date>
    <item>
      <title>Monitor different sourcetype in sub-directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60452#M11988</link>
      <description>&lt;P&gt;I have to monitor two source types in this following directory structure&lt;/P&gt;

&lt;P&gt;\\Server\Path\{can be any name}.log == &amp;gt; sourcetype = FirstLog&lt;/P&gt;

&lt;P&gt;\\Server\Path\SubPath\{can be any name}.csv  == &amp;gt; sourcetype = SecondLog&lt;/P&gt;

&lt;P&gt;How do I set up the inputs.conf? Right now, my first monitor for \\Server\Path is working but the next monitor for \\Server\Path\SubPath is not working.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jun 2013 22:33:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60452#M11988</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2013-06-11T22:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor different sourcetype in sub-directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60453#M11989</link>
      <description>&lt;P&gt;Set the monitor specific to the file in your inputs.conf :  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://\\Server\share\*.log]
sourcetype = FirstLog

[monitor://\\Server\Share\Directory\*.csv]
sourcetype = SecondLog
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 12 Jun 2013 18:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60453#M11989</guid>
      <dc:creator>JSapienza</dc:creator>
      <dc:date>2013-06-12T18:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor different sourcetype in sub-directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60454#M11990</link>
      <description>&lt;P&gt;Sorry, the slashes didn't show up correctly in my message. That's not what I need. I updated the message above.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 17:17:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60454#M11990</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2013-06-13T17:17:39Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor different sourcetype in sub-directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60455#M11991</link>
      <description>&lt;P&gt;The inputs.conf example should still work. If you are using UNC paths then you might want to take a look at this:&lt;BR /&gt;
&lt;A href="http://splunk-base.splunk.com/answers/35281/splunk-index-logs-from-network-drive"&gt;http://splunk-base.splunk.com/answers/35281/splunk-index-logs-from-network-drive&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 17:24:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60455#M11991</guid>
      <dc:creator>JSapienza</dc:creator>
      <dc:date>2013-06-13T17:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor different sourcetype in sub-directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60456#M11992</link>
      <description>&lt;P&gt;Sorry, I don't understand what it has anything to do with my problem with assigning log files from subdirectories to different sourcetype.&lt;/P&gt;

&lt;P&gt;*** Also I can't hard code the name of the log files because as I described log file name can vary. It can be any name.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 18:20:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60456#M11992</guid>
      <dc:creator>lain179</dc:creator>
      <dc:date>2013-06-13T18:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: Monitor different sourcetype in sub-directories</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60457#M11993</link>
      <description>&lt;P&gt;It was a suggestion is you are have trouble accessing the files by UNC path.  I modified the example to reflect using a wildcard for the file name.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2013 18:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Monitor-different-sourcetype-in-sub-directories/m-p/60457#M11993</guid>
      <dc:creator>JSapienza</dc:creator>
      <dc:date>2013-06-13T18:32:01Z</dc:date>
    </item>
  </channel>
</rss>

