<?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: inputs.conf   configuration help .. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-configuration-help/m-p/56002#M10943</link>
    <description>&lt;P&gt;I think you'd better work with whitelists/blacklists in this case. I don't think that &lt;CODE&gt;[monitor]&lt;/CODE&gt; stanza header can make use of full regexes.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///splunkInput/logs]
sourcetype = blaha
index = blaha
whitelist = Managed1\d?\.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
    <pubDate>Mon, 10 Sep 2012 19:01:56 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2012-09-10T19:01:56Z</dc:date>
    <item>
      <title>inputs.conf   configuration help ..</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-configuration-help/m-p/56001#M10942</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;

&lt;P&gt;I have source files in the following folder &lt;/P&gt;

&lt;P&gt;path : &lt;STRONG&gt;splunkInput/logs/&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Files in the path are &lt;BR /&gt;
Managed1.txt&lt;BR /&gt;
Managed2.txt&lt;BR /&gt;
Managed3.txt&lt;BR /&gt;
Managed4.txt&lt;BR /&gt;
....&lt;BR /&gt;
....&lt;BR /&gt;
....&lt;/P&gt;

&lt;P&gt;Managed50.txt&lt;/P&gt;

&lt;P&gt;I have 50 Files like this..&lt;/P&gt;

&lt;P&gt;Now i have given this configuration in inputs.conf to index only first ten files..ie.Managed1.txt to Managed10.txt.&lt;/P&gt;

&lt;P&gt;So i have like this in inputs.conf&lt;/P&gt;

&lt;H2&gt;inputs.conf&lt;/H2&gt;

&lt;P&gt;[monitor:///splunkInput/logs/Managed[1-10]{2}.txt]&lt;BR /&gt;
disable=false&lt;BR /&gt;
sourcetype=mydata&lt;/P&gt;

&lt;P&gt;but this is not working ..can u help the correct regex expression for this sceneraio.&lt;/P&gt;

&lt;P&gt;Thanx&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2012 18:41:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-configuration-help/m-p/56001#M10942</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2012-09-10T18:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf   configuration help ..</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-configuration-help/m-p/56002#M10943</link>
      <description>&lt;P&gt;I think you'd better work with whitelists/blacklists in this case. I don't think that &lt;CODE&gt;[monitor]&lt;/CODE&gt; stanza header can make use of full regexes.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///splunkInput/logs]
sourcetype = blaha
index = blaha
whitelist = Managed1\d?\.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps,&lt;/P&gt;

&lt;P&gt;Kristian&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2012 19:01:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-configuration-help/m-p/56002#M10943</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-09-10T19:01:56Z</dc:date>
    </item>
  </channel>
</rss>

