<?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: regex question in inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145228#M29635</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;[monitor:///path/to/my/logdir]
sourcetype=mysourcetype
recursive = false
blacklist = (.+#.+\.log)$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 16 Nov 2013 15:33:19 GMT</pubDate>
    <dc:creator>dmaislin_splunk</dc:creator>
    <dc:date>2013-11-16T15:33:19Z</dc:date>
    <item>
      <title>regex question in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145227#M29634</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;How would I setup a monitor in inputs.conf that looks for files that begin with "system-" and will process everything (same directory) except files that have a "#" anywhere in them after the "system-" ? &lt;/P&gt;

&lt;P&gt;I don't want "system-#blahblah.log" or "system-(#junk.log".&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2013 13:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145227#M29634</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2013-11-16T13:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: regex question in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145228#M29635</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;[monitor:///path/to/my/logdir]
sourcetype=mysourcetype
recursive = false
blacklist = (.+#.+\.log)$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 16 Nov 2013 15:33:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145228#M29635</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2013-11-16T15:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: regex question in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145229#M29636</link>
      <description>&lt;P&gt;a regex that will identify such strings is:&lt;/P&gt;

&lt;P&gt;^system-.*#&lt;/P&gt;

&lt;P&gt;The '^' indicates beginning of line&lt;BR /&gt;
The '\' ensure misinterpretation of special character like '-' or '#'&lt;BR /&gt;
'.*' means any substring of length 0 or more&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2013 18:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/regex-question-in-inputs-conf/m-p/145229#M29636</guid>
      <dc:creator>peopleware</dc:creator>
      <dc:date>2013-11-16T18:45:09Z</dc:date>
    </item>
  </channel>
</rss>

