<?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 develop a regular expression that will blacklist my log paths in inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365264#M66504</link>
    <description>&lt;P&gt;Some cheerful examples in the documentation at &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.3/Data/Whitelistorblacklistspecificincomingdata"&gt;Whitelist- or blacklist-specific incoming data&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;It shows - &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="![alt text][2]"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2890i9CD8719537CA1886/image-size/large?v=v2&amp;amp;px=999" role="button" title="![alt text][2]" alt="![alt text][2]" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 May 2017 00:32:20 GMT</pubDate>
    <dc:creator>ddrillic</dc:creator>
    <dc:date>2017-05-07T00:32:20Z</dc:date>
    <item>
      <title>How to develop a regular expression that will blacklist my log paths in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365260#M66500</link>
      <description>&lt;P&gt;Below is my monitoring path&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///wasapps/WAS85/logs/restconnect_alppapp102was85Node01]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to blacklist the below files&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/wasapps/WAS85/logs/restconnect_alppapp102was85Node01/restConnectApp.log
/wasapps/WAS85/logs/restconnect_alppapp102was85Node01/restConnectPerformance.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have tried the below regex, but none of them worked.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///wasapps/WAS85/logs/restconnect_alppapp102was85Node01]
blacklist = restConnect*\.(log)$
blacklist = restConnect[App|Performance]\.(log)$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Can someone please help?&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 16:26:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365260#M66500</guid>
      <dc:creator>ppanchal</dc:creator>
      <dc:date>2017-05-05T16:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a regular expression that will blacklist my log paths in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365261#M66501</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;blacklist = restConnect.*\.log$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This should blacklist every file that starts with "restConnect" and ends with .log&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 16:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365261#M66501</guid>
      <dc:creator>ckunath</dc:creator>
      <dc:date>2017-05-05T16:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a regular expression that will blacklist my log paths in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365262#M66502</link>
      <description>&lt;P&gt;I guess this did not work.&lt;BR /&gt;
Any other solution?&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 22:16:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365262#M66502</guid>
      <dc:creator>ppanchal</dc:creator>
      <dc:date>2017-05-05T22:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a regular expression that will blacklist my log paths in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365263#M66503</link>
      <description>&lt;P&gt;Oh, my bad. Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist = .*restConnect.*\.log$
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 06 May 2017 07:46:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365263#M66503</guid>
      <dc:creator>ckunath</dc:creator>
      <dc:date>2017-05-06T07:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a regular expression that will blacklist my log paths in inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365264#M66504</link>
      <description>&lt;P&gt;Some cheerful examples in the documentation at &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.3/Data/Whitelistorblacklistspecificincomingdata"&gt;Whitelist- or blacklist-specific incoming data&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;It shows - &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="![alt text][2]"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2890i9CD8719537CA1886/image-size/large?v=v2&amp;amp;px=999" role="button" title="![alt text][2]" alt="![alt text][2]" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 May 2017 00:32:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-develop-a-regular-expression-that-will-blacklist-my-log/m-p/365264#M66504</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2017-05-07T00:32:20Z</dc:date>
    </item>
  </channel>
</rss>

