<?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 How do you blacklist within inputs.conf? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-blacklist-within-inputs-conf/m-p/451152#M78237</link>
    <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;What's the exact way we can use blacklist in the inputs.conf file? Below is my example, and I am not sure if I should use regex or the path directly. &lt;/P&gt;

&lt;P&gt;[monitor://C:\Program Files\Splunk*\etc...*.conf]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = Conf&lt;BR /&gt;
blacklist://C:\Program Files\Splunk*\etc...\app.conf&lt;/P&gt;

&lt;P&gt;this stanza is to index all the Splunk config files.  But I wanted to ignore the app.conf file under the same path. And also what's the correct format to use a second blacklist for another path? &lt;/P&gt;

&lt;P&gt;Thank you all.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 21:47:28 GMT</pubDate>
    <dc:creator>vinaykata</dc:creator>
    <dc:date>2020-09-29T21:47:28Z</dc:date>
    <item>
      <title>How do you blacklist within inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-blacklist-within-inputs-conf/m-p/451152#M78237</link>
      <description>&lt;P&gt;Hi all, &lt;/P&gt;

&lt;P&gt;What's the exact way we can use blacklist in the inputs.conf file? Below is my example, and I am not sure if I should use regex or the path directly. &lt;/P&gt;

&lt;P&gt;[monitor://C:\Program Files\Splunk*\etc...*.conf]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
sourcetype = Conf&lt;BR /&gt;
blacklist://C:\Program Files\Splunk*\etc...\app.conf&lt;/P&gt;

&lt;P&gt;this stanza is to index all the Splunk config files.  But I wanted to ignore the app.conf file under the same path. And also what's the correct format to use a second blacklist for another path? &lt;/P&gt;

&lt;P&gt;Thank you all.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:47:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-blacklist-within-inputs-conf/m-p/451152#M78237</guid>
      <dc:creator>vinaykata</dc:creator>
      <dc:date>2020-09-29T21:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: How do you blacklist within inputs.conf?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-blacklist-within-inputs-conf/m-p/451153#M78238</link>
      <description>&lt;P&gt;The &lt;CODE&gt;blacklist&lt;/CODE&gt; configuration actually points to a regular expression so the following should work -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;blacklist = C:\\Program Files\\Splunk.*\\etc.*\\app\.conf
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;@DalJeanis spoke about it at &lt;A href="https://answers.splunk.com/answers/565325/unable-to-blacklist-multiple-patterns-using-in-inp.html"&gt;Unable to blacklist multiple patterns using "|" in inputs.conf ?&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It shows there how to use multiple regular expressions using the &lt;CODE&gt;|&lt;/CODE&gt; sign.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2018 19:36:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-blacklist-within-inputs-conf/m-p/451153#M78238</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-10-31T19:36:24Z</dc:date>
    </item>
  </channel>
</rss>

