<?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 to monitor 2 different file types in the same folder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-2-different-file-types-in-the-same-folder/m-p/100018#M20888</link>
    <description>&lt;P&gt;I would setup 2 separate monitor stanzas that monitor the folder. &lt;BR /&gt;
In each stanza I would create a whitelist for the specific file type, such as:&lt;/P&gt;

&lt;P&gt;[monitor:///mnt/logs/*.log]&lt;BR /&gt;
index=test1&lt;/P&gt;

&lt;P&gt;[monitor:///mnt/logs/*.txt]&lt;BR /&gt;
index=test2&lt;/P&gt;

&lt;P&gt;This should direct the .log events to the test1 index and send .txt to test2.&lt;/P&gt;</description>
    <pubDate>Thu, 18 Apr 2013 17:24:38 GMT</pubDate>
    <dc:creator>DerekB</dc:creator>
    <dc:date>2013-04-18T17:24:38Z</dc:date>
    <item>
      <title>How to monitor 2 different file types in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-2-different-file-types-in-the-same-folder/m-p/100017#M20887</link>
      <description>&lt;P&gt;If I need to monitor 2 different file types in the same folder and send them to different indexes, how do I do that?&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2013 17:20:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-2-different-file-types-in-the-same-folder/m-p/100017#M20887</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2013-04-18T17:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to monitor 2 different file types in the same folder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-2-different-file-types-in-the-same-folder/m-p/100018#M20888</link>
      <description>&lt;P&gt;I would setup 2 separate monitor stanzas that monitor the folder. &lt;BR /&gt;
In each stanza I would create a whitelist for the specific file type, such as:&lt;/P&gt;

&lt;P&gt;[monitor:///mnt/logs/*.log]&lt;BR /&gt;
index=test1&lt;/P&gt;

&lt;P&gt;[monitor:///mnt/logs/*.txt]&lt;BR /&gt;
index=test2&lt;/P&gt;

&lt;P&gt;This should direct the .log events to the test1 index and send .txt to test2.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2013 17:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-monitor-2-different-file-types-in-the-same-folder/m-p/100018#M20888</guid>
      <dc:creator>DerekB</dc:creator>
      <dc:date>2013-04-18T17:24:38Z</dc:date>
    </item>
  </channel>
</rss>

