<?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 configure inputs.conf to separate files monitored in a directory? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-to-separate-files-monitored-in-a/m-p/129912#M26708</link>
    <description>&lt;P&gt;The answer was:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://D:\CDR\cdr*]
 disabled = false
 index = cdr
 sourcetype = cdr


 [monitor://D:\CDR\cmr*]
 disabled = false
 index = cdr
 sourcetype = cmr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks to s72ucor in the #splunk Channel&lt;/P&gt;</description>
    <pubDate>Wed, 04 Feb 2015 15:35:47 GMT</pubDate>
    <dc:creator>PPape</dc:creator>
    <dc:date>2015-02-04T15:35:47Z</dc:date>
    <item>
      <title>How to configure inputs.conf to separate files monitored in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-to-separate-files-monitored-in-a/m-p/129911#M26707</link>
      <description>&lt;P&gt;Hey Guys,&lt;/P&gt;

&lt;P&gt;I'm trying to index Data via File Monitor&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\CDR]
disabled = false
index = cdr
sourcetype = cdr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This works just fine, but now I want to separate the files in this Directory there are &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cdr[generic Name]_[Date] 
and cmd[generic Name]_[Date]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;so I tried &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\CDR]
disabled = false
index = cdr
sourcetype = cdr
whitelist = ^cdr

[monitor://D:\CDR]
disabled = false
index = cdr
sourcetype = cmr
whitelist = ^cmr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But this doesn't work. &lt;BR /&gt;
EDIT: No Files are indexed when I use it like shown above&lt;/P&gt;

&lt;P&gt;Is my RegEx wrong? What am I doing wrong?&lt;/P&gt;

&lt;P&gt;Thanks for Helping!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 14:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-to-separate-files-monitored-in-a/m-p/129911#M26707</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2015-02-04T14:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure inputs.conf to separate files monitored in a directory?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-to-separate-files-monitored-in-a/m-p/129912#M26708</link>
      <description>&lt;P&gt;The answer was:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://D:\CDR\cdr*]
 disabled = false
 index = cdr
 sourcetype = cdr


 [monitor://D:\CDR\cmr*]
 disabled = false
 index = cdr
 sourcetype = cmr
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks to s72ucor in the #splunk Channel&lt;/P&gt;</description>
      <pubDate>Wed, 04 Feb 2015 15:35:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-inputs-conf-to-separate-files-monitored-in-a/m-p/129912#M26708</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2015-02-04T15:35:47Z</dc:date>
    </item>
  </channel>
</rss>

