<?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: Blacklist pattern for distsearch.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-pattern-for-distsearch-conf/m-p/31264#M5486</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;There are a couple of options that you can use for this regex. Both of them worked for me:&lt;/P&gt;

&lt;P&gt;[replicationBlacklist]&lt;BR /&gt;
sample1 = ...appname1...&lt;BR /&gt;
sample2 = .&lt;EM&gt;appname2.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;That would blacklist the whole lot of files from those apps, you could also only blacklist specific files from inside an app by including the whole path to the file&lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2013 19:27:22 GMT</pubDate>
    <dc:creator>asimagu</dc:creator>
    <dc:date>2013-11-06T19:27:22Z</dc:date>
    <item>
      <title>Blacklist pattern for distsearch.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-pattern-for-distsearch-conf/m-p/31263#M5485</link>
      <description>&lt;P&gt;Does anyone have any examples of regex used in the Blacklist patterns for distsearch.conf? We are trying to limit what gets replicated in distributed searches and I thought this would be a good start. We currently have the following in our distsearch.conf:&lt;/P&gt;

&lt;P&gt;system     [replicationBlacklist]&lt;BR /&gt;
system     lookupindexfiles = (system|(apps/(?!pdfserver)&lt;EM&gt;)|users(/_reserved)/&lt;/EM&gt;/&lt;EM&gt;)/lookups        /&lt;/EM&gt;.index($|/...)&lt;BR /&gt;
system     sampleapp = apps/sample_app/...&lt;/P&gt;

&lt;P&gt;I am guessing replacing "sampleapp" with a current application that is running on my Splunk instance will stop this app from replicating. Is this correct? Do I need additional regex?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2012 19:58:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-pattern-for-distsearch-conf/m-p/31263#M5485</guid>
      <dc:creator>ride76</dc:creator>
      <dc:date>2012-04-19T19:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist pattern for distsearch.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-pattern-for-distsearch-conf/m-p/31264#M5486</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;There are a couple of options that you can use for this regex. Both of them worked for me:&lt;/P&gt;

&lt;P&gt;[replicationBlacklist]&lt;BR /&gt;
sample1 = ...appname1...&lt;BR /&gt;
sample2 = .&lt;EM&gt;appname2.&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;That would blacklist the whole lot of files from those apps, you could also only blacklist specific files from inside an app by including the whole path to the file&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 19:27:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-pattern-for-distsearch-conf/m-p/31264#M5486</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2013-11-06T19:27:22Z</dc:date>
    </item>
  </channel>
</rss>

