<?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: correct regex for whitelisting files in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121003#M32532</link>
    <description>&lt;P&gt;I would suggest;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;appflow-[a-z0-9]{12}\.syslog-dynamic-\d+
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is probably precise enough.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2013 20:49:31 GMT</pubDate>
    <dc:creator>kristian_kolb</dc:creator>
    <dc:date>2013-10-29T20:49:31Z</dc:date>
    <item>
      <title>correct regex for whitelisting files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121002#M32531</link>
      <description>&lt;P&gt;I have files that have names like this:&lt;BR /&gt;
appflow-0017c569f354.syslog-dynamic-96&lt;BR /&gt;
appflow-0017c569f354.syslog-dynamic-97&lt;BR /&gt;
appflow-0017c569f354.syslog-dynamic-102&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;I tried the following regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;appflow-+[0-9a-z]{12}+.syslog-dynamic-+[0-9]{1,6}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but splunk was not indexing any of the files. What is the correct regex?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121002#M32531</guid>
      <dc:creator>jalfrey</dc:creator>
      <dc:date>2013-10-29T20:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: correct regex for whitelisting files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121003#M32532</link>
      <description>&lt;P&gt;I would suggest;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;appflow-[a-z0-9]{12}\.syslog-dynamic-\d+
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which is probably precise enough.&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2013 20:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121003#M32532</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-29T20:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: correct regex for whitelisting files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121004#M32533</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Also an idea:&lt;/P&gt;

&lt;P&gt;appflow-[^\.]+\.syslog-dynamic-\d+&lt;/P&gt;

&lt;P&gt;-- Jens&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 10:36:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121004#M32533</guid>
      <dc:creator>JensT</dc:creator>
      <dc:date>2013-10-30T10:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: correct regex for whitelisting files</title>
      <link>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121005#M32534</link>
      <description>&lt;P&gt;Thanks for the speedy response.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2013 16:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/correct-regex-for-whitelisting-files/m-p/121005#M32534</guid>
      <dc:creator>jalfrey</dc:creator>
      <dc:date>2013-10-30T16:37:38Z</dc:date>
    </item>
  </channel>
</rss>

