<?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: Help with regex on whitelist in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338143#M62433</link>
    <description>&lt;P&gt;This should work, but you may want to adjust it based upon the format of the timestamps you might see...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SIPServer.*?-PR-001\.[0-9]{8}_[0-9]{6}_[0-9]{3}\.log$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Less strict:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SIPServer.*?-PR-001\.[0-9_]+.log$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 12 Dec 2017 21:07:50 GMT</pubDate>
    <dc:creator>wenthold</dc:creator>
    <dc:date>2017-12-12T21:07:50Z</dc:date>
    <item>
      <title>Help with regex on whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338142#M62432</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to whitelist on the following:&lt;/P&gt;

&lt;P&gt;SIPServer-RTP-Routing1-PR-001.20171212_124642_595.log&lt;/P&gt;

&lt;P&gt;Anything that has SIPServer, then anything, and then "-PR-001", following the timestamp and then .log.&lt;/P&gt;

&lt;P&gt;My attempt...   whitelist = SIPServer-???-Routing?-PR-001.*.log   &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:13:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338142#M62432</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-29T17:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: Help with regex on whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338143#M62433</link>
      <description>&lt;P&gt;This should work, but you may want to adjust it based upon the format of the timestamps you might see...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SIPServer.*?-PR-001\.[0-9]{8}_[0-9]{6}_[0-9]{3}\.log$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Less strict:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SIPServer.*?-PR-001\.[0-9_]+.log$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 12 Dec 2017 21:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338143#M62433</guid>
      <dc:creator>wenthold</dc:creator>
      <dc:date>2017-12-12T21:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with regex on whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338144#M62434</link>
      <description>&lt;P&gt;If you want to consider both Routing and PR-001, you can use following regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;SIPServer-\w*-Routing\d*-PR-001.[0-9_]+.log
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338144#M62434</guid>
      <dc:creator>hardikJsheth</dc:creator>
      <dc:date>2017-12-13T05:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Help with regex on whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338145#M62435</link>
      <description>&lt;P&gt;hey @a212830,&lt;/P&gt;

&lt;P&gt;Try this in inputs.conf, It will work 100%&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://&amp;lt;mention path&amp;gt;]
whitelist = SIPServer-.*-PR-001\.\d+_\d+_\d+\.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Let me know if it helps!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2017 05:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338145#M62435</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-12-13T05:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with regex on whitelist</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338146#M62436</link>
      <description>&lt;P&gt;Can you please try below query and confirm if it fulfill your requirement.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;1.   (?&amp;lt;FileName&amp;gt;SIPServer-.*?-Routing[a-zA-Z0-9]-PR-001.\d+_\d+_\d+.log)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 13 Dec 2017 07:29:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Help-with-regex-on-whitelist/m-p/338146#M62436</guid>
      <dc:creator>Maverick904</dc:creator>
      <dc:date>2017-12-13T07:29:19Z</dc:date>
    </item>
  </channel>
</rss>

